AppCode 2018.2 Help

Structure Tool Window, File Structure Popup

Structure tool window

This tool window displays the structure of a file currently opened in the editor and having the focus, or selected in the Project tool window.

For diagrams, this tool window shows the diagram preview.

View | Tool Windows | Structure
⌘7


File Structure pop-up window

This pop-up window displays the structure of a file, currently opened in the editor and having the focus.

Navigate | File Structure
⌘F12


Both views help quickly navigate through the files' structure.

This section describes the buttons on the title bar of the tool window and the options on the context menu of the title bar. Turn these options on and off to have elements of certain types hidden or shown and configure the way they are presented.

The buttons on the title bar are common for all language contexts. The set of options on the context menu depends on the context.

Title Bar

The buttons on the title bar are common for all language contexts.

ItemTooltipDescription
icon_collapse_all_on_title_bar.pngCollapse All⌘-Click this button to have all the nodes in the tool window collapsed.
icon expand all on title barExpand All⌘+Click this button to have all the nodes in the tool window expanded.
viewMode.png Click this button to open the context menu and configure the appearance of the tool window, its viewing mode, and the way it presents the structure of the current file by turning the menu items on or off.
icons general hideToolWindow svg⇧⎋ Use this icon or shortcut to hide the tool window.

When used in combination with the Alt key, clicking this icon hides all the tool windows attached to the same tool window bar.

Objective-C, C++

IconTooltipDescription
img Show InheritedClick this button to display all the methods and fields inherited by a class and accessible from it. The inherited members are grayed to differ them from the members defined in the current class.
sortByType 2x Sort by Type Click this button to have the elements sorted by their type in the following grouping order:
  • C++ structures
  • Objective-C classes
  • constructors
  • destructors
  • functions/methods
  • properties
  • fields
  • type definitions (typedef)
  • global variables
  • directives (#define).
sortedAlphabetically@2x.png Sort Alphabetically Click this button to have the elements sorted alphabetically.
icons actions collapseall svgCollapse All⌘-Click this button to have all the nodes in the tool window collapsed.
icons actions expandall svgExpand All⌘+Click this button to have all the nodes in the tool window expanded.
icons general autoscrollToSourceAutoscroll to SourceClick 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.
icons general autoscrollFromSourceAutoscroll from SourceClick this button to have AppCode 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

IconTooltipDescription
imgSort AlphabeticallyClick this button to have the elements within a class sorted alphabetically.
html5HTML5 OutlineClick this button on to view HTML 5 outline of a HTML file:
html5_outline.png
icons actions collapseall svgCollapse All⌘-Click this button to have all the nodes in the tool window collapsed.
icons actions expandall svgExpand All⌘+Click this button to have all the nodes in the tool window expanded.
icons general autoscrollToSourceAutoscroll to SourceClick 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.
icons general autoscrollFromSourceAutoscroll from SourceClick this button to have AppCode 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, TypeScript, CoffeeScript

IconTooltipDescription
img Sort AlphabeticallyClick this button to have the elements within a class sorted alphabetically.
imgGroup Methods by Defining TypeClick 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.
icons nodes field svgShow FieldsClick this button to have all fields (properties) shown in the tree.
img Show InheritedClick 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.
icons actions collapseall svgCollapse All⌘-Click this button to have all the nodes in the tool window collapsed.
icons actions expandall svgExpand All⌘+Click this button to have all the nodes in the tool window expanded.
icons general autoscrollToSourceAutoscroll to SourceClick 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.
icons general autoscrollFromSourceAutoscroll from SourceClick this button to have AppCode 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.
Last modified: 16 August 2018

See Also