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.
Pay attention, that when you use a placeholder, its name should be enclosed with dollar signs (use the syntax
Note
$xx$, wherexxrepresents 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.

Tip
Click
in the Find Results toolbar to edit current search pattern.
