MPS 2023.3 Help

Default Keymap Reference

Core of editing

Shortcut

Action

Ctrl+Space

Code completion

Alt+Enter

Show contextual intention actions

Ctrl+Z

Undo

Ctrl+Shift+Z

Redo

Tab

Move to the next cell

Shift + Tab

Move to the previous cell

General editing

Shortcut

Action

Ctrl+Alt+T

Surround with...

Ctrl+X

Cut current line or selected block to buffer

Ctrl+C

Copy current line or selected block to buffer

Ctrl+V

Paste from buffer

Ctrl+D

Duplicate current line or selected block

Shift + F5

Clone root

Ctrl+Up

Expand block selection region

Ctrl+Down

Shrink block selection region

Shift + Arrows

Extend the selected region to siblings

Ctrl+Shift+Up

Move statements up

Ctrl+Shift+Down

Move statements down

Alt/Control + X

Show note in AST explorer

F5

Refresh the error messages in the editor

Set dependencies on models, import used languages

Shortcut

Action

Ctrl+M

Import model

Ctrl+L

Import language

Ctrl+R

Import model by a root name

Find usages and Search

Shortcut

Action

Alt+F7

Find usages

Alt + F6

Find concept instances

Ctrl+Shift+F7

Highlight usages

Ctrl+F

Find text

F3

Find next

Shift+F3

Find previous

Shortcut

Action

Ctrl+B

Go to declaration

Control/Cmd + N

Go to root node by name

Ctrl+Shift+N

Go to file by name

Ctrl+G

Go to node by id

Ctrl+Shift+A

Go to action by name

Control/Cmd + Alt + Shift + M

Go to model

Control/Cmd + Shift + Alt + S

Go to module

Control/Cmd + Shift + S

Go to concept declaration

Control/Cmd + Shift + E

Go to concept editor declaration

Alt+Right

Go to next editor tab

Alt+Left

Go to previous editor tab

Escape

Go to editor (from tool window)

Shift+Escape

Hide active or last active window

Shift+F12

Restore default window layout

Ctrl+Shift+F12

Hide all tool windows

F12

Jump to the last tool window

Ctrl+E

Recent nodes popup

Ctrl+Shift+E

Recent locations popup

Ctrl+Alt+Left

Navigate back in editor history

Ctrl+Alt+Right

Navigate forward in editor history

Alt+F1

Select current node in any view

Control/Cmd + H

Concept/Class hierarchy

Ctrl+Shift+P

Show type

BaseLanguage Editing

Shortcuts

Action

Ctrl+O

Override methods

Ctrl+I

Implement methods

Ctrl+/

Comment/uncomment with block comment

Ctrl+P

Show parameters

Alt+Insert

Create new class member

Ctrl+Alt+B

Go to overriding methods / Go to inherited classifiers

Ctrl+U

Go to super method

BaseLanguage refactoring

Shortcut

Action

F6

Move

Shift+F6

Rename

Ctrl+Alt+N

Inline

Ctrl+Alt+M

Extract Method

Ctrl+Alt+V

Introduce Variable

Ctrl+Alt+C

Introduce constant

Ctrl+Alt+F

Introduce field

Ctrl+Alt+P

Introduce parameter

Generation, Compilation and Run

Shortcuts

Action

Control/Cmd + F9

Generate current module

Control/Cmd + Shift + F9

Generate current model

Shift+F10

Run

Shift+F9

Debug

Ctrl+Shift+F10

Run context configuration

Alt+Shift+F10

Select and run a configuration

Alt+Shift+F9

Select and debug a configuration

Control/Cmd + Alt + Shift + F9

Preview generated text

Debugger

Shortcut

Action

F8

Step over

F7

Step into

Shift+F8

Step out

F9

Resume

Alt+F8

Evaluate expression

Ctrl+F8

Toggle breakpoints

Ctrl+Shift+F8

View breakpoints

VCS/Local History

Shortcut

Action

Ctrl+K

Commit project to VCS

Ctrl+T

Update project from VCS

Alt+`

VCS operations popup

Ctrl+Alt+A

Add to VCS

Ctrl+D

Show differences

General

Shortcut

Action

Alt + 0-9

Open the corresponding tool window

Ctrl+S

Save all

Control + BackQuote (`)

Quick switch current scheme

Ctrl+Alt+S

Open Settings dialog

Last modified: 07 March 2024