Skip to content

Commit

Permalink
Remove unsupported feature (#8913)
Browse files Browse the repository at this point in the history
we don't support commands in our markdown documentation for completion, so just remove it entirely

Tested in a cshtml and .razor file:

CSharp completion
HTML completion (links to MDN still work)
Razor completion
  • Loading branch information
ryzngard committed Jul 12, 2023
1 parent b0fd3e3 commit 3c0b894
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class RazorCompletionItemProvider
if (doc) {
// Without this, the documentation doesn't get rendered in the editor.
const newDoc = new vscode.MarkdownString(doc.value);
newDoc.isTrusted = doc.isTrusted;
newDoc.isTrusted = false;
completionItem.documentation = newDoc;
}

Expand Down

0 comments on commit 3c0b894

Please sign in to comment.