MPS 2019.1 Help

Default Keymap Reference

Core of editing

Windows/Linux

MacOS

Action

Ctrl + Space Ctrl + Space

Code completion

Alt + Enter Alt + Enter

Show contextual intention actions

Ctrl + Z Cmd + Z

Undo

Ctrl + Shift + Z Cmd + Shift + Z

Redo

Tab Tab

Move to the next cell

Shift + Tab Shift + Tab

Move to the previous cell

General editing

Windows/Linux

MacOS

Action

Ctrl + Alt + T Cmd + Alt + T

Surround with...

Ctrl + X/ Shift + Delete Cmd + X

Cut current line or selected block to buffer

Ctrl + C / Ctrl + Insert Cmd + C

Copy current line or selected block to buffer

Ctrl + V / Shift + Insert Cmd + V

Paste from buffer

Ctrl + D Cmd + D

Duplicate current line or selected block

Shift + F5 Shift + F5

Clone root

Ctrl + Up/Down Cmd + Up/Down

Expand/Shrink block selection region

Ctrl + Shift + Up/Down Cmd + Shift + Up/Down

Move statements up/down

Shift + Arrows Shift + Arrows

Extend the selected region to siblings

Ctrl + W Cmd + W

Select successively increasing code blocks

Ctrl + Shift + W Cmd + Shift + W

Decrease current selection to previous state

Ctrl + Y Cmd + Y

Delete line

Alt + X Control + X

Show note in AST explorer

F5 F5

Refresh the error messages in the editor

Ctrl + - Cmd + -

Collapse

Ctrl + Shift + - Cmd + Shift + -

Collapse all

Ctrl + + Cmd + +

Expand

Ctrl + Shift + + Cmd + Shift + +

Expand all

Ctrl + Shift + 0-9 Cmd + Shift + 0-9

Set bookmark

Ctrl + 0-9 Ctrl + 0-9

Go to bookmark

Insert Ctrl + N

Create Root Node (in the Project View)

Ctrl + Alt + click Cmd + Alt + click

Show descriptions of error or warning at caret

Ctrl + Shift + T Cmd + Shift + T

Show type of node

Ctrl + Alt + T Cmd + Alt + T

Surround with...

Set dependencies on models, import used languages

Windows/Linux

MacOS

Action

Ctrl + M Cmd + M

Import model

Ctrl + L Cmd + L

Import language

Ctrl + R Cmd + R

Import model by a root name

Find usages and Search

Windows/Linux

MacOS

Action

Alt + F7 Alt + F7

Find usages

Alt + F6 

Alt + F6 

Find concept instances

Ctrl + Alt + Shift + F7 Cmd + Alt + Shift + F7

Highlight cell dependencies

Ctrl + Shift + F6 Cmd + Shift + F6

Highlight instances

Ctrl + Shift + F7 Cmd + Shift + F7

Highlight usages

Ctrl + F Cmd + F

Find text

F3 F3

Find next

Shift + F3 Shift + F3

Find previous

Windows/Linux

MacOS

Action

Ctrl + B / Ctrl + click Cmd + B / Cmd + click

Go to declaration

Ctrl + N Cmd + N

Go to root node by name

Ctrl + Shift + N Cmd + Shift + N

Go to file by name

Ctrl + G Cmd + G

Go to node by id

Ctrl + Shift + A Cmd + Shift + A

Go to action by name

Ctrl + Alt + Shift + M Cmd + Alt + Shift + M

Go to model

Ctrl + Alt + Shift + S Cmd + Alt + Shift + S

Go to solution

Ctrl + Shift + S Cmd + shift + S

Go to concept declaration

Ctrl + Shift + E Cmd + Shift + E

Go to concept editor declaration

Alt + Left/Right Control + Left/Right

Go to next/previous editor tab

Esc Esc

Go to editor (from tool window)

Shift + Esc Shift + Esc

Hide active or last active window

Shift + F12 Shift + F12

Restore default window layout

Ctrl + Shift + F12 Cmd + Shift + F12

Hide all tool windows

F12 F12

Jump to the last tool window

Ctrl + E Cmd + E

Recent nodes popup

Ctrl + Alt + Left/Right Cmd + Alt + Left/Right

Navigate back/forward

Alt + F1 Alt + F1

Select current node in any view

Ctrl + H Cmd + H

Concept/Class hierarchy

F4 / Enter F4 / Enter

Edit source / View source

Ctrl + F4 Cmd + F4

Close active editor tab

Alt + 2 Alt + 2

Go to inspector

Ctrl + F10 Cmd + F10

Show structure

Ctrl + Alt + ] Cmd + Alt + ]

Go to next project window

Ctrl + Alt + [ Cmd + Alt + [

Go to previous project window

Ctrl + Shift + Right Ctrl + Shift + Right

Go to next aspect tab

Ctrl + Shift + Left Ctrl + Shift + Left

Go to previous aspect tab

Ctrl + Alt + Shift + R Cmd + Alt + Shift + R

Go to type-system rules

Ctrl + Shift + T Cmd + Shift + T

Show type

Ctrl + H Ctrl + H

Show in hierarchy view

Ctrl + I Cmd + I

Inspect node

BaseLanguage Editing

Windows/Linux

MacOS

Action

Ctrl + O Cmd + O

Override methods

Ctrl + I Cmd + I

Implement methods

Ctrl + / Cmd + /

Comment/uncomment with block comment

Ctrl + F12 Cmd + F12

Show nodes

Ctrl + P Cmd + P

Show parameters

Ctrl + Q Ctrl + Q

Show node information

Alt + Insert Ctrl + N

Create new ...

Ctrl + Alt + B Cmd + Alt + B

Go to overriding methods / Go to inherited classifiers

Ctrl + U Cmd + U

Go to uverriden method

BaseLanguage refactoring

Windows/Linux

MacOS

Action

F6 F6

Move

Shift + F6 Shift + F6

Rename

Alt + Delete Alt + Delete

Safe Delete

Ctrl + Alt + N Cmd + Alt + N

Inline

Ctrl + Alt + M Cmd + Alt + M

Extract Method

Ctrl + Alt + V Cmd + Alt + V

Introduce Variable

Ctrl + Alt + C Cmd + Alt + C

Introduce constant

Ctrl + Alt + F Cmd + Alt + F

Introduce field

Ctrl + Alt + P Cmd + Alt + P

Extract parameter

Ctrl + Alt + M Cmd + Alt + M

Extract method

Ctrl + Alt + N Cmd + Alt + N

Inline

Generation, compilation and run

Windows/Linux

MacOS

Action

Ctrl + F9 Cmd + F9

Generate current module

Ctrl + Shift + F9 Cmd + Shift + F9

Generate current model

Shift + F10 Shift + F10

Run

Shift + F9 Shift + F9

Debug

Ctrl + Shift + F10 Cmd + Shift + F10

Run context configuration

Alt + Shift + F10 Alt + Shift + F10

Select and run a configuration

Ctrl + Shift + F9 Cmd + Shift + F9

Debug context configuration

Alt + Shift + F9 Alt + Shift + F9

Select and debug a configuration

Ctrl + Alt + Shift + F9 Cmd + Alt + Shift + F9

Preview generated text

Ctrl + Shift + X Cmd + Shift + X

Show type-system trace

Debugger

Windows/Linux

MacOS

Action

F8 F8

Step over

F7 F7

Step into

Shift + F8 Shift + F8

Step out

F9 F9

Resume

Alt + F8 Alt + F8

Evaluate expression

Ctrl + F8 Cmd + F8

Toggle breakpoints

Ctrl + Shift + F8 Cmd + Shift + F8

View breakpoints

VCS/Local History

Windows/Linux

MacOS

Action

Ctrl + K Cmd + K

Commit project to VCS

Ctrl + T Cmd + T

Update project from VCS

Ctrl + V Ctrl + V

VCS operations popup

Ctrl + Alt + A Cmd + Alt + A

Add to VCS

Ctrl + Alt + E Cmd + Alt + E

Browse history

Ctrl + D Cmd + D

Show differences

General

Windows/Linux

MacOS

Action

Alt + 0-9 Alt + 0-9

Open the corresponding tool window

Ctrl + S Cmd + S

Save all

Ctrl + Alt + F11 N/A

Toggle full screen mode

Ctrl + Shift + F12 N/A

Toggle maximizing editor

Ctrl + BackQuote (`) Control + BackQuote (`)

Quick switch current scheme

Ctrl + Alt + S Cmd + ,

Open Settings dialog

Ctrl + Alt + C Cmd + Alt + C

Model Checker

Last modified: 5 July 2019