AppCode 2018.1 Help

Viewing Inline Documentation

Quick Documentation Lookup helps you get quick information for any symbol or just method signature information, provided that this symbol has been supplied with documentation comments in the applicable format.

AppCodeQuickDock

Type inference support in Quick Documentation

AppCode handles the Quick Documentation for the inferred types of symbols for all the supported languages. The IDE infers the type of the expression based on the provided values and renders that information in the Quick Documentation Window.
ac QuickDoc3
Refer to the sections below for general procedures of the Quick Documentation presentation.

Documentation comments

AppCode handles the Quick Documentation for a symbol from the line comments that start with the three slashes.
Documentation comments can be applied to the following symbols: class, structure, enum, protocol, interface, variable, property, parameter, method, etc.

ac QuickDoc2
Refer to the sections below for general procedures of the Quick Documentation presentation.

To view documentation for the symbol at caret

Press N/A or choose View | Quick Documentation Lookup on the main menu.

Viewing quick documentation

Viewing documentation for a symbol at caret

When you explicitly invoke code completion, then quick documentation for an entry selected in the suggestion list can be displayed automatically. The behavior of quick documentation lookup is configured in the Autopopup documentation (ms) For explicitly invoked completion page of the Settings/Preferences dialog.

  • On the main menu, choose View | Quick Documentation Lookup.

  • Press N/A.

  • Provided that the checkbox Show quick doc on mouse move in the editor settings is selected, just move your mouse pointer over the desired symbol.

Changing font style of the quick documentation

  • Click show slider in the upper-right corner of the quick documentation window, and move the slider.

  • Rotate the mouse wheel while keeping the Ctrl key pressed.

    Note that for this feature to work, you have to enable it in the General page of the editor settings.

    ctrl mouse wheel

    Refer to the section Zooming in the Editor for details.

Documentation window

The Documentation pop-up window helps navigate to the related symbols via hyperlinks, and provides a toolbar for moving back and forth through the already navigated pages, changing font size, and viewing documentation in an external browser.

To switch between the Documentation pop-up window and the Documentation tool window, use N/A.

Icon

Shortcut

Description

arrowBack arrowForward

N/A or N/A

Switch to the previous or next documentation page (e.g. after using hyperlinks).
arrowUp.png N/A

View external documentation in the default browser.

edit N/A

Switch to the item (e.g. source) that corresponds to the documentation page currently shown.

autoscrollFromSource

Turn the Auto-update from source option on or off. When the option is on, the information in the tool window is synchronized with your navigation in the editor and other places in the UI.

show slider

Click this icon to show the font size slider. Move the slider to increase or decrease the font size in the quick documentation window as required.

Last modified: 19 September 2019