IntelliJ IDEA 2020.3 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.

Item Keyboard Shortcut Description
Path In this field, the path to a file or directory to be excluded from compilation is shown.
Recursively For a directory: select this option to exclude from compilation all the corresponding subdirectories.
the Add button Alt+Insert Use 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 remove Alt+Delete Use this icon or shortcut to remove the selected item or items from the list.
Last modified: 09 November 2020