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.
This commit is contained in:
kjeremy 2020-10-28 09:52:23 -04:00
parent 85cda15b62
commit 77ffe137f2

View file

@ -61,7 +61,7 @@ function createHintStyle(hintKind: "type" | "parameter" | "chaining") {
backgroundColor: bg, backgroundColor: bg,
fontStyle: "normal", fontStyle: "normal",
fontWeight: "normal", fontWeight: "normal",
textDecoration: "none", textDecoration: ";font-size:smaller",
}, },
}), }),
toDecoration(hint: ra.InlayHint, conv: lc.Protocol2CodeConverter): vscode.DecorationOptions { toDecoration(hint: ra.InlayHint, conv: lc.Protocol2CodeConverter): vscode.DecorationOptions {