In VSC, how can I enable "Go to File" to search *all* of the files within a project, including dependencies?
In recent months I switched from using NetBeans to Visual Studio Code, and I like it a lot, but I haven't been able to figure out how to quickly open a given dependency file, searching by name.
Even though the file definitely exists, I get no results:
(This feature only seems to work to find the main files of my project rather than any dependency files.)
Manually expanding the "node_modules" folder and looking for the particular file is really time-consuming and annoying.
How can I search for a file directly, like NetBeans allows?
51 Answer
Based on the two links below, the poster has enabled "Go to File" to search all the files within the project, including dependencies, by doing the following in File > Preferences > Settings > User/Workspace Settings:
- Remove
node_modulesfrom "search.exclude" - Uncheck "Use Ignore Files".
References: