IntelliJ IDEA 12.1.0 Web Help

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

File | Project Structure | Facets

projectStructure

File | Project Structure | Facets

projectStructure

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

IconCommandShortcutDescription
addNewAlt+InsertCommand N; Command Enter 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.

deleteDeleteDeleteDeleteUse this icon, command or shortcut to delete the selected (individual) facets.
expandAll.pngExpand AllCtrl+Add; Ctrl+EqualsCtrl+Add; Ctrl+EqualsUse this icon, command or shortcut to show the facet types and individual facets.
collapseAllCollapse AllCtrl+Subtract; Ctrl+MinusCtrl+Subtract; Ctrl+MinusUse this icon, command or shortcut to show only the facet types. (Individual facets will be hidden.)
NavigateF4F4Use 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

IconShortcutDescription
addAlt+InsertCommand N; Command Enter 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.

deleteAlt+DeleteCommand Delete Select the facet types for which you want to restore auto-detection, and click this icon.

See Also

Concepts:

Procedures:

Reference:

Web Resources: