Skip to content

Commit

Permalink
Use Markdown in the tooltip (oops)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiribenes committed Nov 7, 2024
1 parent 92dc08a commit 7c55dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7c55dd4

Please sign in to comment.