Skip to content
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

Option to prevent deprecated things from showing up in intellisense suggestions #77239

Closed
Tyler-Murphy opened this issue Jul 11, 2019 · 9 comments · Fixed by #123351
Closed
Assignees
Labels
feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities insiders-released Patch has been released in VS Code Insiders suggest IntelliSense, Auto Complete verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@Tyler-Murphy
Copy link

Tyler-Murphy commented Jul 11, 2019

I'd like a setting to optionally prevent deprecated things from showing up in intellisense suggestions.

For example, I'd like a way to prevent assert.equal from being suggested here, so that I don't use it despite a non-deprecated version being available.

image

My linter can catch it, but it'd be even nicer never to see the deprecated option.

There are several documentation systems that use the @deprecated tag:

Other systems use different, similar tags.

I'm not sure if this is an issue for the VSCode core, or for something language-specific.

@vscodebot vscodebot bot added the javascript JavaScript support issues label Jul 11, 2019
@Tyler-Murphy
Copy link
Author

Tyler-Murphy commented Jul 11, 2019

Sorry if this is a duplicate or is already possible. There are enough issues here and questions/answers on Stack Overflow that it's hard to be confident.

This issue is related: #50972

@mjbvz
Copy link
Collaborator

mjbvz commented Jul 12, 2019

Not showing deprecated suggestions can be implemented by individual language extensions today (not striking out but #50972 tracks that). Adding @jrieken just to see this is something we want better VS Code api support for in some way

Otherwise, we can track this as a feature request for js/s

@jrieken
Copy link
Member

jrieken commented Jul 12, 2019

I'd say this is a dupe of #50972 and it would be us adding some API flag and then allows users to configure how the suggest UX is handling that flag

@jrieken
Copy link
Member

jrieken commented Jul 12, 2019

/duplicate of #50972

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Jul 12, 2019
@vscodebot
Copy link

vscodebot bot commented Jul 12, 2019

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@Tyler-Murphy
Copy link
Author

Okay, that makes sense.

What does "js/s" mean?

@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 26, 2019
@jrieken jrieken added feature-request Request for new features or functionality suggest IntelliSense, Auto Complete and removed *duplicate Issue identified as a duplicate of another issue(s) javascript JavaScript support issues labels Sep 30, 2019
@jrieken jrieken reopened this Sep 30, 2019
@microsoft microsoft unlocked this conversation Sep 30, 2019
@jrieken jrieken added the help wanted Issues identified as good community contribution opportunities label Oct 7, 2019
@jrieken jrieken added this to the Backlog milestone Jan 13, 2020
@zardoy
Copy link
Contributor

zardoy commented Jan 11, 2021

@mjbvz, is it possible to add a setting like editor.suggest.showDeprecated, so I can disable it to prevent deprecated from showing up in suggestions list?

@zardoy

This comment has been minimized.

@jrieken
Copy link
Member

jrieken commented May 31, 2021

Verify that the setting "editor.suggest.showDeprecated" exists and that it filters deprecated elements from IntelliSense

@lramos15 lramos15 added the verified Verification succeeded label Jun 2, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities insiders-released Patch has been released in VS Code Insiders suggest IntelliSense, Auto Complete verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants
@jrieken @lramos15 @Tyler-Murphy @mjbvz @zardoy and others