hiding node modules from file searching popup
I heavily use navigate by class and file popup, and it works fine within an Angular Cli project only project files are shown (node_modules is hidden) lately I don't use angular and I noticed that node_modules files appear on searching suggestions which is very annoying
I tried to exclude the node modules but I lost code completion tried to use the node.js core from libraries but it's not working the same.
I tried a custom scope and it seems to use the root directory as well,
is there anything to do that shows only file in a specific directory without losing indexing?
I also notice a flag (library root) on node_modules folder how to configure a workflow to be the same; as it indexes without the annoying search suggestions

Please sign in to leave a comment.
>I noticed that node_modules files appear on searching suggestions which is very annoying
Navigate | File includes files from JavaScript libraries; and PhpStorm adds all your project direct dependencies listed in package.json to JavaScript Libraries while indexing your project (thus the library root mark displayed next to node_modules folder)
there is unfortunately no way to exclude libraries from navigation; you can disable the generated library, but you will lose the completion for library methods then
>I tried a custom scope and it seems to use the root directory as well
Navigate | File doesn't currently support scopes (https://youtrack.jetbrains.com/issue/IDEA-107386)