aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorkjeremy <[email protected]>2020-10-28 13:52:23 +0000
committerkjeremy <[email protected]>2020-10-28 13:52:23 +0000
commit77ffe137f2691164b199abfbadd14f73abede48d (patch)
tree8b6a37867a8f5abfaa772e4bf26b6dddac92b1bd /editors/code
parent85cda15b62b6b3c0d633eee1458b01a8abc759e6 (diff)
Smaller inlay hints
This makes things a lot more readable but isn't officially supported by vscode: https://github.com/Microsoft/vscode/issues/9078 Inspired by Visual Studio, IntelliJ and Resharper.
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/inlay_hints.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts
index 2336a266a..38eb1c15b 100644
--- a/editors/code/src/inlay_hints.ts
+++ b/editors/code/src/inlay_hints.ts
@@ -61,7 +61,7 @@ function createHintStyle(hintKind: "type" | "parameter" | "chaining") {
61 backgroundColor: bg, 61 backgroundColor: bg,
62 fontStyle: "normal", 62 fontStyle: "normal",
63 fontWeight: "normal", 63 fontWeight: "normal",
64 textDecoration: "none", 64 textDecoration: ";font-size:smaller",
65 }, 65 },
66 }), 66 }),
67 toDecoration(hint: ra.InlayHint, conv: lc.Protocol2CodeConverter): vscode.DecorationOptions { 67 toDecoration(hint: ra.InlayHint, conv: lc.Protocol2CodeConverter): vscode.DecorationOptions {