Celeb Glow
general | March 12, 2026

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.

enter image description here

Even though the file definitely exists, I get no results:

enter image description here

(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?

5

1 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_modules from "search.exclude"
  • Uncheck "Use Ignore Files".

References:

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy