Specifying Files to Ignore

See Also

If you have files that you do not want to be recognized by the IDE, you can configure the IDE to ignore these files.

To specify files to be ignored:

  1. From the main window, choose Tools > Options and click Miscellaneous.
  2. Click Files and use the Ignored Files Pattern field to enter a POSIX-style regular expression to specify the files you want ignored.

The following are some useful characters for regular expressions.

Character Description
|Or.
^Matches all file or directory names beginning with the subsequent characters.
$Matches all file or directory names ending with the preceding characters.
\Escape character. Necessary if you want to match to a period (.) or other special character.
.*Wildcard.

For example, if you want to ignore all files with the .bak extension, type \.bak$ in the Ignored Files property.

See Also
Working with Unknown File Extensions

Legal Notices