MPS 2017.2 Help

Menu Trace Tool Window

View | Tool Windows | Menu Trace


Menu trace tool window shows the trace of the editor menu items, such as code completion or context assistant menu items.

Since the transformation and substitute menus may include other menus, each editor menu item has a certain trace. The trace is the list of the transformation/substitute menus and their parts. It starts with the initial transformation menu, consists of the included menus and parts, and ends with the item itself.

The trace is represented by a tree, where the child item is included in the parent item. Thus the initial transformation menu is at the tree top, and the editor menu item is at the bottom.

When you show the trace for the context assistant submenu, the corresponding item in the trace will also be shown at the bottom of the trace, but it can expanded, so you see the children of the submenu.

Viewing the tool window

To show this tool window, do one of the following:

  • Put the caret to the editor, and:
    1. Press Ctrl+Space.
    2. Using the arrow keys, select the required completion item.
  • Put the caret to the cell with the context assistant and choose an item within the context assistant by pressing Ctrl+Alt+Enter.

After that, press Ctrl+Alt+B.

Toolbar buttons

IconTooltip and shortcutDescription
Close the current tab.
/help/img/idea/2017.2/pin.png Pin Use to pin or unpin the tab. If a tab is pinned, the results for the next command are shown on a new tab.
help Help
Use this icon or shortcut to open the corresponding help page.


If the item in the trace is in italic:


It means that there is no the definition node of the corresponding menu/menu part. So the menu/menu part was either created at runtime or at generation time. Such menus/menu parts are called implicit.

If the item in the trace is bold:


It means that it has a navigable node. The node is either the declaration of the menu/menu part (if it is not implicit) or the node that helps you to understand where does the menu part comes from (in case it is implicit).

To open a node, double-click the trace item.

See Also

Last modified: 9 August 2017