Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to excluder a folder from search and indexing (JetBrains IDEs)?

The question is about Rider, but I hope this setting is similar for all Jet Brain's Ides.

I have several folders with js and css bundles. For example the folders are situated in wwwroot/buildjs and wwwroot/buildcss.

The problem is when I press Ctrl + Shift + F to find something in the solution or (that is worse) when I try to rename something with the help of refactoring instruments (Right click -> Refactor -> Rename) Rider tries to rename in the bundles too! It's very slow, and I don't need it! Could somebody tell me ho to exclude this folders?

I remember early I could do it with the help of Right click on the folder -> Tools (not sure but maybe) -> Exclude from index. But now I don't see this menu item.

like image 850
Aleksej_Shherbak Avatar asked Dec 30 '25 14:12

Aleksej_Shherbak


1 Answers

The workaround that solved it for me was to:

  • right click the folder > Tools > Stop Index

This will not index the folder and so it won't appear on search results. I did this for each folder I have on the project.

I think this is an open bug: https://youtrack.jetbrains.com/issue/RIDER-2173

like image 158
Vetras Avatar answered Jan 01 '26 06:01

Vetras



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!