Exclude js build files from search results

Answered

I have some js built files that I don't want to show up in the search result. This can easily bee done in VS Code, how can I do it in Rider?

The files are include in the project, don't ask why (-: but we need it that way 

 

0
4 comments
Avatar
Permanently deleted user

I have the same issue with js files that are being indexed by the engine and slows down the Find significantly. 
Is there a way to exclude them from full text search?

0

Hi,

To exclude a folder from indexing, you need to

1. right-click on a folder -> exclude

2. switch to File System Explorer or press "Show All Files" in Solution Explorer toolbar (eye icon)

3. find the excluded folder and right-click on it -> Tools -> Stop Index

4. then you can include it back (indexing will not be started again).

I hope this helps, but please let me know if something is unclear or this solution is not what you are looking for.

Kind regards,

Sofia.

0
Avatar
Permanently deleted user

Hi Sofia, 
Thanks for your comment! 

What do I do if I have that kind of setup with files linked from nuget?

If you try to exclude wwwroot, it gives the following error.

0

Hi Dmytro,

Unfortunately, these files indeed cannot be excluded.

It means that there is no way to solve the issue yet. But there are tickets in our tracker:

https://youtrack.jetbrains.com/issue/RIDER-17376
https://youtrack.jetbrains.com/issue/RIDER-17703

We are planning to fix them soon. 

I'm very sorry for the inconvenience.

Kind regards,

Sofia.

0

Please sign in to leave a comment.