You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Find all references" does not work with javascript require when files closed #58972
Activity
mjbvz commentedon Sep 20, 2018
Try creating a
jsconfig.jsonat the root of your project with the contents:{ "compilerOptions": { "target": "ES6" }, "exclude": [ "node_modules", "**/node_modules/*" ] }This tells vs code to treat all js files in the workspace as part of the same project, even if they are not open