-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code: support the new deprecated tag #1671
Labels
Comments
lnicola
changed the title
Code: use the new deprecated tag
Code: support the new deprecated tag
Aug 9, 2019
This is not supported in the protocol - see microsoft/language-server-protocol#500. So this is currently waiting on upstream. |
We already fill in the deprecated field on the LPS's |
vscode.languages.registerCompletionItemProvider('plaintext', {
provideCompletionItems() {
const item = new vscode.CompletionItem("deprecated_completion");
item.tags = [vscode.CompletionItemTag.Deprecated];
return [item];
}
}); |
Yep but that's in a custom completion provider. If it's handled in the LSP
spec then we don't have to make a custom provider.
…On Thu, Sep 5, 2019, 8:39 AM Laurențiu Nicola ***@***.***> wrote:
vscode.languages.registerCompletionItemProvider('plaintext', {
provideCompletionItems() {
const item = new vscode.CompletionItem("deprecated_completion");
item.tags = [vscode.CompletionItemTag.Deprecated];
return [item];
}
});
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1671>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABBACRHD27CJ32IEZHIBVSLQID4Z3ANCNFSM4IKSGH6A>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://code.visualstudio.com/updates/v1_37#_diagnosticstagdeprecated
The text was updated successfully, but these errors were encountered: