IntelliJ IDEA 13.1 Web Help

File | Settings | Compiler | Excludes

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.
add Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+Insert or Ctrl+NAlt+InsertCommand N or Control EnterControl N or Control EnterCommand N or Control Enter Use this icon or shortcut to add a file or directory to the list. Select the file or directory in the dialog that opens.
delete Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteCommand Delete or Command BackspaceCommand DeleteCommand Delete or Command Backspace Use this icon or shortcut to remove the selected item or items from the list.

Note

  • The sources listed on this page, if they are used in the project parts to be compiled (e.g., if they are imported, extended or implemented), will nevertheless be compiled.
  • Explicit compiler invocation on excluded directories will force their compilation.

See Also

Concepts:

Procedures:

Web Resources: