зеркало из https://github.com/dotnet/razor.git
Remove unsupported feature (#8913)
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
This commit is contained in:
Родитель
b0fd3e3ac4
Коммит
3c0b894df0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче