Ignore node_modules in Webstorm when using navigation pop-up

inreflection7 picture inreflection7 · Aug 29, 2013 · Viewed 31.3k times · Source

Is it possible to ignore searching the node_modules folder when using WebStorm's navigation pop-up window (Command + Shift + N)?

This makes it really annoying when wanting to quickly navigate to, for example, the package.json file.

Answer

Andrei Karpushonak picture Andrei Karpushonak · Oct 20, 2013

To exclude the directory from being searched via navigation pop-up, pick node_modules directory in Project view, then from mouse context menu:

Mark Directory As -> Excluded

enter image description here

Directory could be restored via Preferences->Directories->Excluded Folders settings