Find in File searching generated code
Is it just me or is Rider 2021.1's, "Find in Files" changed? It now returns results for generated code (e.g. view.gs.cs). I can't find a setting to turn this off. Really makes this feature hard to use.
Please sign in to leave a comment.
Hello Mike,
Could you please tell me from what version you have updated? I have checked it in 19.3.4 and it does the same. Could you please also attach the screenshot of both just to see the search options?
Mike Ward, search features rely on frontend indexing. In 21.1 we have improved our indexing to process only .net projects, which typically means that Rider indexes less files than before. To exclude files from indexing you can right-click on it and click Stop index. We also have an open issue to make this process easier and clearer: RIDER-24072. Let me know if you have other questions.
21.1 resolved my issue. Thanks!