IntelliJ IDEA 2021.1 Help

Excludes

File | Settings | Build, Execution, Deployment | Compiler | Excludes for Windows and Linux
IntelliJ IDEA | Preferences | Build, Execution, Deployment | Compiler | Excludes for macOS

Use this page to specify files and directories within your project that should not be passed to the compiler.

ItemKeyboard ShortcutDescription
PathIn this field, the path to a file or directory to be excluded from compilation is shown.
RecursivelyFor a directory: select this option to exclude from compilation all the corresponding subdirectories.
the Add buttonAlt+InsertUse this icon or shortcut to add a file or directory to the list. Select the file or directory in the dialog that opens.
Icons general removeAlt+DeleteUse this icon or shortcut to remove the selected item or items from the list.
Last modified: 08 March 2021