Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Can't jump to file position in explorer for node_modules file

If I open a file in my normal project source, I can press Ctrl+Shift+E from the editor so that the file is focused within the "explorer" section . This does not work for node_modules. I have not added node_modules to files.exclude, so the folder shows up in the explorer, but the above behaviour is not observed. Is there a way to jump to a file within node_modules?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

CtrlShiftE doesn’t reveal the file, it only focuses the Explorer view which has the opened file active by default. So that won’t work for files not currently visible in Explorer.

You need the Reveal in Explorer View command. It has no keybinding by default. You may find in in tab context menu or in command pallete

enter image description here


edit: it’s search.exclude option that controls this

Configure glob patterns for excluding files and folders in fulltext searches and quick open. Inherits all glob patterns from the #files.exclude# setting.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading