-
Notifications
You must be signed in to change notification settings - Fork 12.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
Do not suggest rare autocompletion values #29921
Comments
Removing "rare" things doesn't fix anything, even setting aside the question of who gets to define "rare". If I don't really see what we're supposed to do from the semantic side here. The completion is a valid partial match, and you have turned on the setting that controls whether partial matches get completed to full matches on We can't even add a shim Probably the only thing to do is insert truly fake entries in the global completion list for things like |
Being that 'assert' is a common thing to require / import - and assuming
As a side note, that setting is on by default, the user has not turned it on. |
For the original problem, the fix is to make sure that TypeScript IntelliSense knows that a function called It is subjective which suggestions are useful or not, and failing to show a less common suggestion that a user really is looking for is a worse UX than showing this suggestion in cases where the user doesn't need it. Letting users configure a blacklist of completion names in VS Code is also not a good idea as these lists would be quite long and need to updated constantly as new apis are added Instead, a better solution in my opinion would be to split |
Closing this since it has only seen two upvotes since February |
Hey @mjbvz, I understand that maintaining these issues is kind of challenging but closing issues based solely on upvotes may be shortsighted imho. Instead I suggest looking at the number of duplicates for example (#10565, #54971, #22372, #15750, #27899, #37982, #26624, #26340, #45039, #80016, ...) factored in with the number of upvotes, reactions and comments. Thanks. |
This not a question.
See typing assert.anything inside js files will result in MSFIDOCredentialAssertion.anything
Instead of disabling
editor.acceptSuggestionOnCommitCharacter
, vscode should present better suggestions.The only references to MSFIDOCredentialAssertion on the internet are JS users using vscode getting weird suggestions.
This not a question. @vscodebot please don't say it is. I know about Stack Overflow. I am not asking there because this is not a question. This not a question. You are a silly bot.
The text was updated successfully, but these errors were encountered: