Exclude folder from search in "open folder as project" mode

Answered

Hi, I've done some search already through the forums and online and unfortunately none of the proposed solutions seem to work for me. I am using Rider in a javascript project with npm, opening the project as a folder, and attempting to exclude the node_modules folder from search results.

https://rider-support.jetbrains.com/hc/en-us/community/posts/360010338440-Use-Rider-for-JavaScript-projects

This post seems to describe the same issue, and like OP the suggested solution does not work as my right click context menu has no "Exclude" option in the explorer, and my explorer settings menu has no option to show all files.

After searching it seems this may be a missing feature from Rider. I am able to remove the node_modules from my index, but so far there seems to way to exclude the folder from search results, making the search feature not practical for me in our project. Search is important to my workflow and it seems this feature is present in WebStorm, but I cannot find a working solution for Rider after going through other posts requesting a solution to the same problem. I feel like I must be missing something, but the other posts seem to say the same: the index can be modified for the node_modules folder but it cannot be excluded from search

1 comment
Comment actions Permalink

Hi Dave J Thorpe

Sorry for the delay.  

Have you tried adding this folder in `Elements to skip` in File | Settings | Editor | Inspection Settings?

Also, as a workaround, one can use Scopes for this case. Specify only needed folders (or exclude node_modules) and choose scopes when Search in Files.

 

0

Please sign in to leave a comment.