From 77ffe137f2691164b199abfbadd14f73abede48d Mon Sep 17 00:00:00 2001 From: kjeremy Date: Wed, 28 Oct 2020 09:52:23 -0400 Subject: [PATCH] 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. --- editors/code/src/inlay_hints.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts index 2336a266a0..38eb1c15b9 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") { backgroundColor: bg, fontStyle: "normal", fontWeight: "normal", - textDecoration: "none", + textDecoration: ";font-size:smaller", }, }), toDecoration(hint: ra.InlayHint, conv: lc.Protocol2CodeConverter): vscode.DecorationOptions {