Reputation: 4593
I have typescript installed and I am using visual code.
If i try to go to definition for a typescript function located in node_modules, visual studio expands the entire 'node_modules' folder, and I have to close it again.
It is ridiculous.
How can i stop that happening
Upvotes: 4
Views: 966
Reputation: 3050
In VSCode, if you have two options in vscode 's user settings:
explorer.autoReveal
to false
, will disable automatically reveal files when opening them;"**/node_modules":true
to files.exclude
, will hide the node_modules
folder from explore pane;Upvotes: 6