Excluding Files from Projects
On this page:
See also, Excluding files and folders by specifying name patterns.
Basics
Sometimes you might need to exclude a single file from your project, so that it will be ignored by inspections, code completion, etc. This is done using the
action.When a file is marked as plain text, IntelliJ IDEA does not use it anymore for code completion and navigation. Such file is shown as plain text in the editor, and is marked with a special icon in the Project Tool Window.
The reverse action is also available: you can return a file to its original type, using the
action.Marking a file as plain text
- In the Project Tool Window, select the desired file.
- On the context menu of the selection, choose :
Marking a file with its regular type
- In the Project Tool Window, select the desired file, marked with icon.
- On the context menu of the selection, choose :
Last modified: 29 November 2017