From 7c55dd4706f72af1e82870ebfacd72b0b76a3343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Bene=C5=A1?= Date: Thu, 7 Nov 2024 22:37:21 +0100 Subject: [PATCH] Use Markdown in the tooltip (oops) --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index b0a4011..93b9029 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -111,7 +111,7 @@ class EffektCapturesProvider implements vscode.InlayHintsProvider { const hint = new vscode.InlayHint(position, response.captureText, vscode.InlayHintKind.Type); // This tooltip is useful when there are a lot of captures. - hint.tooltip = new vscode.MarkdownString(`Captures: ${response.captureText}`); + hint.tooltip = new vscode.MarkdownString(`Captures: \`${response.captureText}\``); hint.paddingRight = true; hint.paddingLeft = false; inlayHintCache[document.uri.toString()].push(hint);