Reputation: 2540
I'm getting unwanted autocomplete suggestions and I'm not sure how to disable them.
Example of suggestions
Path of which the suggestions are pulled
C:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\lib.es6.d.ts
settings.json (part)
"files.exclude": {
"/**/node_modules": true,
"/**/bower_components": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
".vscode": true
},
Any ideas to disable this would be awesome!
Upvotes: 3
Views: 454
Reputation: 65493
RTCIceCandidatePairChangedEvent
is a dom type. Dom typing suggestions are included by default for JS and TS, along with types for the the standard JavaScript library.
To explicitly control which typings are included, create a jsconfig.json
file that sets lib
:
{
"compilerOptions": {
"lib": ["es6"]
}
}
The above config means that only the es6
standard library typings will be included. Here's more info on the lib
setting
Upvotes: 3