IntelliJ IDEA 12.1.0 Web Help

Some features described here are available in Ultimate edition only.

File | Project Structure | Modules

projectStructure

File | Project Structure | Modules

projectStructure

This page opens in the right-hand part of the Project Structure dialog when you select a Flash module in the element selector pane.

Use this page to edit the module name and configure the module contents.

The module contents are configured by adding and removing the module content roots as well as by assigning individual folders (within the content roots) to source folders, test source folders and also by excluding the folders.

Name field

ItemDescription
NameUse this field to edit the module name.

The left-hand pane

The left-hand pane shows the module content roots.

For each content root, a categorized view of the module folders is provided. The categories are the source folders, test source folders and excluded folders. The folders that don't belong to any of these categories are not shown in this view.

The individual folders within the categories are identified by their paths. The folder paths are all relative to the module root folder (content root).

The folder paths, functionally, are hyperlinks that let you jump to the corresponding folders in the tree shown in the right-hand pane.

If a module has more than one content root, selecting a content root in the left-hand pane also switches the tree view in the right-hand pane. That is, when you click somewhere within the content root area, the folder structure of this particular content root is shown in the right-hand pane.

The following table lists the controls available in the right-hand pane (icons) and describes their functions.

IconTooltipDescription
addRootAdd Content RootUse this icon to add another content root. Select the desired folder in the dialog that opens.
rootRemoveRemove Content EntryUse this icon to remove the corresponding content root from the list of the content roots.
rootUnmarkUnmarkUse this icon to remove the folder from the corresponding category. As a result, the folder becomes "an ordinary folder", that is, not belonging to any specific category.

The right-hand pane

The right-hand pane shows a tree of folders for a module content root. If the module has more than one content root, the structure shown corresponds to the content root selected in the left-hand pane.

The folders belonging to different categories have different colors.

The following table lists the available toolbar buttons (the Icon column) and explains their functions (the Description column). Note that the corresponding functions can also be accessed as the context menu commands. These are listed in the Command column.

IconCommandDescription
rootSourceSources Use this icon or command to assign the selected folder to the source folder category.

Note that this icon/command works as a toggle. So it can also be used to cancel the assignment.

Also note that the folder marked as the source folder appears in the corresponding category in the left-hand pane.

rootTestTest Sources Use this icon or command to assign the selected folder to the test sources.

Note that this icon/command works as a toggle. So it can also be used to cancel the assignment.

Also note that the folder marked as the test source folder appears in the corresponding category in the left-hand pane.

rootExcludedExcluded Use this icon or command to make the selected folder excluded.

Note that this icon/command works as a toggle. So it can also be used to cancel the folder exclusion.

Also note that the folder marked as excluded appears in the corresponding category in the left-hand pane.

New Folder Use this command to create a folder in the selected folder. Specify the name for the new folder in the New Folder dialog.

See Also

Concepts:

Procedures:

Web Resources: