Reputation: 8277
We have a lot of legacy javascript code which spans about 300 different files in our project in Scripts
folder. When I update _references.js
file, all 300 files gets referenced and it bloats the Intellisense. We are moving on to new javascript code under Scripts/New
folder but also keeping the old files. We are willing to sacrifice Intellisense for old files. And we want to update _references.js
when new files are added or deleted under the Scripts/New
folder. Is there a way to update _references.js
only for the new folder?
Upvotes: 2
Views: 550
Reputation: 2517
try this,
files.exclude": {
"Scripts/New": true,
}
I found this config github issue.
add or append this entry in VScode config. Hope this was helpful.
Upvotes: 1
Reputation: 2498
You can enable and disable the auto sync feature via editor’s context menu button “Auto-sync JavaScript References” in this js file. You can always manually update the project’s JavaScript references using the context menu button “Update JavaScript References”.check here
Upvotes: 0