Skip to content

Add deprecated property to CompletionItem and SymbolInformation #465

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

Merged
merged 1 commit into from
May 8, 2018

Conversation

rcjsuen
Copy link
Contributor

@rcjsuen rcjsuen commented Apr 26, 2018

It should be possible for completion items and symbols to be flagged as being deprecated. Some editors and IDEs flag such deprecated items by applying a visual affordance such as striking the text out. By introducing this new deprecated property, these editors and IDEs will be able to use its deprecation UI affordance when supporting a language via the LSP.

This implements and closes #139.

See microsoft/vscode-languageserver-node#332 for the VS Code implementation.

It should be possible for completion items and symbols to be flagged
as being deprecated. Some editors and IDEs flag such deprecated items
by applying a visual affordance such as striking the text out. By
introducing this new deprecated property, these editors and IDEs will
be able to use its deprecation UI affordance when supporting a
language via the LSP.

Signed-off-by: Remy Suen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants