MPS 2021.3 Help

Cut, copy, paste

Apart from standard cut, copy, and paste operations, MPS lets you copy file paths, symbol references, and so on. When pasting, you can optionally choose items from clipboard history and automatically apply formatting rules.

Cut and copy code to the clipboard

Cut line or selection

  1. Set the caret anywhere in the line to cut the whole line, or select a block that you want to cut.

  2. Press Ctrl+X or choose Edit | Cut from the main menu .

Copy line or selection

  1. Set the caret anywhere in the line to copy the whole line, or make a selection to copy.

  2. Press Ctrl+C or choose Edit | Copy from the main menu .

When cutting and copying text from the editor, by default MPS puts it as rich text to the clipboard, keeping the highlighting colors and font. But you can also copy it as plain text.

Copy selection as plain text

  • If you want to always copy editor selection as plain text, choose the corresponding option under Rich-Text Copy on the Editor | Code Editing page of the IDE settings Ctrl+Alt+S.

  • If you want to have rich-text copy by default, you can make a single plain-text copy by right-clicking the selection and choosing Copy / Paste Special | Copy as Plain Text from the context menu.

Paste from the clipboard

Paste the last clipboard entry

  1. Set the caret to the place where you want to paste the last clipboard entry or select a code block that you want to replace with the clipboard entry.

  2. Press Ctrl+V or choose Edit | Paste | Paste from the main menu .

Alternatively to pasting with the selected formatting preference, you can insert the clipboard entry with its original formatting.

Paste the last clipboard entry with original formatting

  1. Set the caret to the place where you want to paste the last clipboard entry or select a code block that you want to replace with the clipboard entry.

  2. Press Ctrl+Alt+Shift+V or choose Edit | Paste | Paste as Plain Text from the main menu .

You can also access your clipboard history and quickly paste any of the recent items copied to the clipboard. MPS starts recording copied items to its clipboard history as soon as you start it and clears the history when you close it.

Paste specific entry from the clipboard history

  1. Set the caret to the place where you want to paste the last clipboard entry or select a code block that you want to replace with the clipboard entry.

  2. Press Ctrl+Shift+V or choose Edit | Paste | Paste from History… from the main menu .

  3. In the Choose Content to Paste dialog, you can choose one of the recent clipboard entries and preview it.

  4. Click Paste or Pate without formatting to paste the desired entry in a corresponding way. Alternatively, press a mnemonic key displayed next to the desired entry to quickly insert it.

Last modified: 07 December 2021