MPS 2020.1 Help

Viewing Definition

Show Definition and Show Implementation dialogs show you where and how your project symbols (tags, classes, methods/functions, fields, etc) are defined. The Show Definition dialog shows the target of the reference under caret.

show definition

The Show Implementation dialog shows BaseLanguage methods that implement or override the method under caret.

show definition

Select a symbol and press Ctrl+Shift+I to initiate the dialog. Definitions are shown in the Definition popup window.

Jump to the definition of the symbol

  • To open the source code of the definition for editing and close the quick definition lookup window, click icons actions edit on the toolbar or press F4.

  • To open the definition without closing the quick definition lookup window, click View the definition source code or press Ctrl+Enter.

Toolbar of the quick definition lookup

Use the icons on the toolbar of the popup to navigate to the source code of the definition and view its usages.

Icon

Keyboard shortcut

Action

icons actions back icons actions forward Shift+Alt+Left
Shift+Alt+Right

Navigate to the previous/next implementation in the Show Implementation popup.

icons actions editF4

Open the source code of the definition for editing, and close the quick definition lookup window.

View the definition source codeCtrl+Enter

Open the source code of the definition, and preserve the quick definition lookup window opened.

Last modified: 18 June 2020