Reputation: 6175
Currently, Visual Studio Code offers helpful hints on common language keywords like for
and class
and enum
(I'm using Typescript). I don't need assistance with these words - they're just noise, blocking me from seeing more relevant entries.
Is there a way I can disable suggestions for 'language keywords' only, but leave all the rest?
Upvotes: 8
Views: 3254
Reputation: 663
I am using version 1.51.1
and i have perfectly disabled the keyword suggestion by adding these lines in settings.json
"editor.suggest.showKeywords": false,
Upvotes: 4
Reputation: 96448
Please note that you now need to use:
"[typescript]": {
"editor.suggest.showKeywords": false
}
which deprecates:
"[typescript]": {
"editor.suggest.filteredTypes": {
"keyword": false
}
}
Upvotes: 2
Reputation: 65593
No, as of VS Code 1.21 you cannot filter out just the keyword suggestions in TypeScript and JavaScript.
Please file a feature request if you'd like to see this supported
Upvotes: 2