To find occurrences of a code pattern
- On the main menu, choose ReSharper | Find | Search with Pattern. The Search with Pattern dialog box opens.
- Define a pattern in the Search pattern text area.
NotePay attention, that when you use a placeholder, its name should be enclosed with dollar signs (use the syntax
xxrepresents placeholder name),whereas when you create a new placeholder, you should omit these special symbols.
- Click Find to start the search.
- Search results are shown in the Find Results window.