IntelliJ IDEA 11.1 Web Help

11.0+
11.0+↓

View | Tool Windows | Structure

Alt+7Command 7

View | Tool Windows | Structure

Alt+7Command 7

The Structure tool window displays the structure of a file currently opened in the editor, or selected in the Project tool window. For diagrams, this tool window shows the diagram preview.

This section describes the toolbar buttons for the various file types:

Tip

Refer to the section Symbols for the member icons in the tree view of a file in the Structure tool window.

Java

Item Tooltip and shortcut Description
sortByVisibility Sort by Visibility Click this button to have the items sorted by their visibility in the following order:
public - protected - package local - private.
sortAlphabetically Sort Alphabetically Click this button to have the elements within a class sorted alphabetically.

Tip

When both sortByVisibility and sortAlphabetically buttons are pressed, the items in the view are grouped according to their visibility levels. Within each visibility level group, the items are sorted alphabetically. When both buttons are released, the items display in the order they appear in the code.

groupByDefiningTypes Group Methods by Defining Type Click this button to have all the methods that override/implement the methods of a particular class/interface grouped under the node that corresponds to this class/interface.
property Show Properties Click this button to show getters, setters, and fields in the tree view.
hierarchyClassSupertypes Show Inherited Click this button to display all the methods and fields inherited by the current class and accessible from it. The inherited members are displayed gray to distinguish them from the members defined in the current class.
showAnonymous Show Anonymous If this button is pressed, the inner anonymous classes are shown in the tree view.
field Show Fields Click this button to have all fields (properties) shown in the tree.
showReadOnlyFilesIcon Show non-public Click this button to display all non-public class members.
Release the button to hide all non-public members.
expandAll.png
collapseAll
Expand All
Collapse All
Click these buttons to expand or collapse all nodes.
autoScrollToSource Autoscroll to Source Toggle this button to enable automatic navigation to the line of source code that corresponds to the selected node when the focus switches to the editor.
autoscrollFromSource Autoscroll from Source Toggle this button to have IntelliJ IDEA automatically move the focus in the Structure tool window to the node that corresponds to the code where the cursor is currently positioned in the editor.

HTML, XML

Item Tooltip and shortcut Description
sortAlphabetically Sort Alphabetically Click this button to have the elements within a class sorted alphabetically.
expandAll.png
collapseAll
Expand All
Collapse All
Click these buttons to expand or collapse all nodes.
autoScrollToSource Autoscroll to Source Toggle this button to enable automatic navigation to the line of source code that corresponds to the selected node when the focus switches to the editor.
autoscrollFromSource Autoscroll from Source Toggle this button to have IntelliJ IDEA automatically move the focus in the Structure tool window to the node that corresponds to the code where the cursor is currently positioned in the editor.

JavaScript, CoffeeScript, ActionScript

Item Tooltip and shortcut Description
sortAlphabetically Sort Alphabetically Click this button to have the elements within a class sorted alphabetically.
groupByDefiningTypes Group Methods by Defining Type Click this button to have all the methods that override/implement the methods of a particular class/interface grouped under the node that corresponds to this class/interface.
field Show Fields Click this button to have all fields (properties) shown in the tree.
hierarchyClassSupertypes Show Inherited Click this button to display all the methods and fields inherited by the current class and accessible from it. The inherited members are displayed gray to tell them from the members defined in the current class.
expandAll.png
collapseAll
Expand All
Collapse All
Click these buttons to expand or collapse all nodes.
autoScrollToSource Autoscroll to Source Toggle this button to enable automatic navigation to the line of source code that corresponds to the selected node when the focus switches to the editor.
autoscrollFromSource Autoscroll from Source Toggle this button to have IntelliJ IDEA automatically move the focus in the Structure tool window to the node that corresponds to the code where the cursor is currently positioned in the editor.

Properties

Item Tooltip and shortcut Description
sortAlphabetically Sort Alphabetically Click this button to have the elements within a property file sorted alphabetically.
sortByType Sort by Type Click this button to have the elements within a class sorted according to their types.
groupByPrefix Group by prefix Click this button to have the elements within a property file grouped according to their prefixes.
expandAll.png
collapseAll
Expand All
Collapse All
Click these buttons to expand or collapse all nodes.
autoScrollToSource Autoscroll to Source Toggle this button to enable automatic navigation to the line of source code that corresponds to the selected node when the focus switches to the editor.
autoscrollFromSource Autoscroll from Source Toggle this button to have IntelliJ IDEA automatically move the focus in the Structure tool window to the node that corresponds to the code where the cursor is currently positioned in the editor.

PHP

Item Tooltip and shortcut Description
web_ide_icon_php PHP Click this button to show the hierarchy of the PHP elements.
web_ide_icon_html HTML View Use this view to have the hierarchy of the PHP elements displayed. This view is used for HTML files, and PHP classes and files with HTML code blocks.
sortByVisibility Sort by Visibility Click this button to have the items sorted by their visibility in the following order:
public - protected - package local - private.
sortAlphabetically Sort Alphabetically Click this button to have the elements within a class sorted alphabetically.
hierarchyClassSupertypes Show Inherited Click this button to display all the methods and fields inherited by the current class and accessible from it. The inherited members are displayed gray to distinguish them from the members defined in the current class.
show_includes Show Includes Click this button to have all files included through include or require statements shown in the tree.
php_storm_structure_show_constants Show Constants Click this button to have constants shown in the tree.
expandAll.png
collapseAll
Expand All
Collapse All
Click these buttons to expand or collapse all nodes.
autoScrollToSource Autoscroll to Source Toggle this button to enable automatic navigation to the line of source code that corresponds to the selected node when the focus switches to the editor.
autoscrollFromSource Autoscroll from Source Toggle this button to have IntelliJ IDEA automatically move the focus in the Structure tool window to the node that corresponds to the code where the cursor is currently positioned in the editor.

See Also

Procedures:

Reference:

Getting Started:

Web Resources: