IntelliJ IDEA 13.1 Web Help

Some features described here are available in Ultimate edition only.

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

Icon Command Shortcut Description
add New 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, 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 DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDeleteDelete or BackspaceDeleteDelete or Backspace Use this icon, command or shortcut to delete the selected (individual) facets.
expandAll.png Expand All Ctrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCommand NumPad or Command EqualsCommand NumPad or Command EqualsCommand NumPad or Command Equals Use this icon, command or shortcut to show the facet types and individual facets.
collapseAll Collapse All Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad -Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCommand NumPad - or Command MinusCommand NumPad - or Command MinusCommand NumPad - or Command Minus Use this icon, command or shortcut to show only the facet types. (Individual facets will be hidden.)
Navigate F4F4F4F4F4F4F4F4F12 or Ctrl+Shift+ECommand Down or F4F4F3 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

Icon Shortcut Description
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 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+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteCommand Delete or Command BackspaceCommand DeleteCommand Delete or Command Backspace Select the facet types for which you want to restore auto-detection, and click this icon.

See Also

Concepts:

Procedures:

Reference:

Web Resources: