IntelliJ IDEA 11.1 Web Help

8.0+
Some features described here are available in Ultimate edition only.

File | Project Structure | Facets
Ctrl+Alt+Shift+SCommand Semicolon


When you select Facets in the left-hand pane of the Project Structure dialog, the existing facets grouped by their types and the Detection option are shown in the area under project_structure_toolbar_2_facets.

The facet types are at the top hierarchical level. The existing facets are shown within the corresponding type, at the second level.

Use collapseAll.png (Collapse All) to see only the facet types. Click expandAll.png (Expand All) to see the types and also individual facets.

Click add to create a new facet. Select the facet type, and then the module or modules the new facet should be associated with.

Note that certain facets have other facets as their parents. To add such facets, you should create a parent facet first. For more information, see Available Facets and Their Dependencies.

To remove unnecessary facets, select the corresponding (individual) facets and click delete.

When you select a facet type, the default settings for this type of facet are shown in the right-hand part of the dialog. These settings are applied when a new facet of the corresponding type is created.

Note that there are no default settings for most of the facet types.

When an individual facet is selected, you can see and configure its settings. For more information, see Module Facet Settings.

When you select Detection, the Framework Detection page is shown in the right-hand part of the dialog. Use the controls on this page to enable or disable auto-detection for various facet types.

11.0+↓

Framework Detection page

Item Description
add Click this icon to exclude a facet type from auto-detection.

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 Select Path dialog that opens.

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

delete Select the facet types for which you want to restore auto-detection, and click this icon.

See Also

Concepts:

Procedures:

Reference:

Web Resources: