I can't find node_modules folder from scopes settings Follow
I want to exclude node_modules folder from global search, so I was trying to create a customized scope, but I don't see node_modules. Also I realized that node_modules is marked as library root. I'm not sure if there is any relationship.
My question would be how can setup the scope to exclude the search under folder node_module?
Please sign in to leave a comment.
node_modulesare only partially excluded - direct dependencies listed in
Project scope doesn't include libraries, so you won't see files from
node_modulesin search result when using it.
file[your_project_name]:*/&&to overwrite the default scope - see https://youtrack.jetbrains.com/issue/IDEA-145142#comment=27-1156171 for explanation
Related feature request: : https://youtrack.jetbrains.com/issue/IDEA-103560
You probably want to right click the project window tool and show excluded files :)