We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TypeScript Version: 3.6.0-rc
Search Terms:
Feature request VS Code recently added support for rendering suggestions for deprecated symbols with a strikeout: microsoft/vscode#50972
We would like the TS Server to return metadata about completion items that indicates if they are deprecated or not
/** * @deprecated */ function foo() {} foo| /* suggestions here should render `foo` with a strike out*/
Proposed API change In the completionInfo response from the TS Server, for deprecated completions add deprecated to the kindModifiers field:
completionInfo
deprecated
kindModifiers
[Trace - 2:39:42 PM] <semantic> Response received: completionInfo (373). Request took 151 ms. Success: true Result: { "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, "entries": [ { "name": "foo", "kind": "var", "kindModifiers": "declare deprecated", "sortText": "2" }, ...
Related Issues:
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
TypeScript Version: 3.6.0-rc
Search Terms:
Feature request
VS Code recently added support for rendering suggestions for deprecated symbols with a strikeout: microsoft/vscode#50972
We would like the TS Server to return metadata about completion items that indicates if they are deprecated or not
Proposed API change
In the
completionInfo
response from the TS Server, for deprecated completions adddeprecated
to thekindModifiers
field:Related Issues:
The text was updated successfully, but these errors were encountered: