MPS 2021.2 Help

Add, delete, and move lines

You normally press Enter to start a new line, but you can also start a new line even if the caret is currently in the middle of another line.

Add a new line

  • Press Shift+Enter to add a new line after the current line.

Instead of starting an empty line, you can duplicate an existing line and edit it as required.

Duplicate a line

  • Press Ctrl+D.

Delete the current line

  • Press Control/Cmd + Y.

Move a line up or down

  1. Place the caret at the line to be moved.

  2. Do one of the following:

    • Choose Code | Move Line Up/Down from the main menu.

    • Press Alt+Shift+Up or Alt+Shift+Down.

Last modified: 30 September 2021