IntelliJ IDEA 2016.1 Help


File | Project Structure | Facets

When you select the 'Facets' category in the Project Structure dialog, the existing facets grouped by their types and the Detection option are shown in the element selector pane.

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

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 on the Facet page.

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.

Use the toolbar icons, context menu commands or keyboard shortcuts associated with the facet selector pane to manage the facets (see below).

Toolbar icons, context menu commands and shortcuts

add New Alt+Insert Use this icon, command or shortcut 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.

delete Delete Delete Use this icon, command or shortcut to delete the selected (individual) facets.
expandAll.png Expand All Ctrl+NumPad Plus Use this icon, command or shortcut to show the facet types and individual facets.
collapseAll Collapse All Ctrl+NumPad - Use this icon, command or shortcut to show only the facet types. (Individual facets will be hidden.)
Navigate F4 Use this command or shortcut to show the selected facet as an element of the corresponding module. (The Modules category will be selected and the facet will be shown in the element selector pane.)

Framework Detection page

add Alt+Insert Use this icon or shortcut 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 Alt+Delete Select the facet types for which you want to restore auto-detection, and click this icon.

See Also




Last modified: 13 July 2016