ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Ignored Code

Last modified: 11 February 2024
ReSharper options: Code Inspection | Ignored Code

In this page of ReSharper options, you can specify what to exclude from code inspection.

You can use Ant-style wildcards in file masks:

  • ? to match a single character excluding directory separators

  • * to match zero or more characters excluding directory separators

  • ** to match any number of characters including directory separators

  • / or \ to match directory separators regardless of the OS path format

For example a pattern **Test?\**.* will match the following files:

  • C:\Projects\MyTestX\data\file_one.txt

  • /home/projects/TestY/file_two.xml

But not:

  • C:\Projects\Test\data\file_one.txt

  • /home/projects/TestY/file_two