Search Everywhere: Exclude with pattern

I would like to be able to remove any *.Designer.cs files from Search Everywhere as I very rarely need to find or change something in those files. If I really have to, Ill just open the file myself. 

My current scenario is like the following:

Got a button on a form called 'btnCreateDebugItem'. The same form has a Click event for this button called 'btnCreateDebugItem_Click'. Now if I use Search Everywhere and type: "createdebug", the first and selected element is the declaration of the button in the designer.cs file instead of the event.

Therefore it would be nice to be able to exlude files/folders using a pattern like "*.Designer.cs" instead of having to select files/folder from the solution.

Thanks in advance!

 

0
5 comments
Official comment

Hello!

 

Thank you for contacting us.

Please try the following setting - ReSharper | Options| Environment | Search & Navigation | Elements to skip.

Thank you.

Avatar
Permanently deleted user

Hi Angelina,

thats what I tried but unfortunately there I can't simply type "*.Designer.cs", instead I would have to select all designer files in all my projects manually.

0

Got you point.

I've filed corresponding feature request - https://youtrack.jetbrains.com/issue/RSRP-469805

Please feel free to comment or vote for it.

Thank you.

0
Avatar
Permanently deleted user

Great! Thank you!

0
Avatar
Permanently deleted user

In the mean time, anyone who want to exclude all the .designers files easily, simply search for *.designer.whatever in the file selection dialogue and then CTRL+A and open and voilà...all the files added in one step :)

0

Please sign in to leave a comment.