IntelliJ IDEA 2016.2 Help

Configuring Auto-Detection of Facets

On this page:

Introduction

Facet auto-detection is enabled for all facet types unless you exclude unnecessary types from auto-detection. This exclusion can be project-wide or limited to a certain directory.

If necessary, you can restore auto-detection for the facet types that you have excluded from auto-detection.

See also, Adding Auto-Detected Facets.

Excluding facets from auto-detection

To exclude a facet type from auto-detection

  1. Open the Project Structure dialog (Ctrl+Shift+Alt+S).
  2. In the left-hand pane, click Facets.
  3. In the area under project_structure_toolbar_2_facets, select Detection.
  4. In the right-hand part of the dialog, click add.
  5. Select the facet type, and then select where auto-detection should be disabled:
    • In the whole project.
    • In directory. Select the directory where auto-detection should be disabled in the dialog that opens.

    Note that you can disable auto-detection for all the available facet types at once by selecting the All Frameworks option.

  6. Click OK in the Project Structure dialog.

Restoring auto-detection of facets

To restore auto-detection of facets

  1. Open the Project Structure dialog (Ctrl+Shift+Alt+S).
  2. In the left-hand pane, click Facets.
  3. In the area under project_structure_toolbar_2_facets, select Detection.
  4. In the right-hand part of the dialog, select the facet types for which you want to restore auto-detection, and click delete.
  5. Click OK in the Project Structure dialog.

See Also

Last modified: 20 July 2016