Hide third party node_modules in PHPStorm


PHPStorm is intelligent enough to display all directories in node_modules belonging to third party dependencies of dependencies installed with npm.

Is there a setting that I can hide those?
For example when I install babel I only want to see the babel directory and not all of the dependencies installed by babel.

1 comment

It's not possible unfortunately:( You can disable Show Excluded Files in Project tool window settings:

but it will hide all node_modules, not just those that aren't listed in direct dependencies:(


Please sign in to leave a comment.