Reputation: 1323
While editing some JS files, VSC systematically adds "require()
" calls, which I have to remove as quickly
How to prevent VSC from adding theses lines with "require
"?
Thanks Didier
Upvotes: 0
Views: 313
Reputation: 7548
You can create a jsconfig.json
file inside your project and set "javascript.suggest.autoImports"
to false
as documented here to disable auto-import IntelliSense in your code-base.
You can alternatively disable it globally by going to VSC settings (Ctrl + ,
), search for "javascript auto import" and disable there.
Upvotes: 1