Exclude js build files from search results Follow
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
Please sign in to leave a comment.
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?
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.
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.
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:
We are planning to fix them soon.
I'm very sorry for the inconvenience.