diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-28 15:00:25 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-28 15:00:25 +0000 |
commit | 93fca7556a72ed437674c64494daf1f9e4981d2d (patch) | |
tree | 829bddc937fc7a561784c25cf26e5c5474389690 /editors | |
parent | e34183218ceb840c3b20a707ed79e57bdf9f90b7 (diff) | |
parent | 77ffe137f2691164b199abfbadd14f73abede48d (diff) |
Merge #6394
6394: Smaller inlay hints r=SomeoneToIgnore a=kjeremy
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.
Co-authored-by: kjeremy <[email protected]>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/src/inlay_hints.ts | 2 |
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 { |