WPCodeBox Editor
WPCodeBox 2 uses Monaco Editor (opens in a new tab) for editing code. Below you can find a list of keyboard shortcuts that you can use to speed up your workflow.
Editor shortcuts
| Description | Windows/Linux | Mac | 
|---|---|---|
| Undo | Ctrl + Z | Command + Z | 
| Redo | Ctrl + Y | Shift + Command + Z or Command + Y | 
| Cut | Ctrl + X | Command + X | 
| Copy | Ctrl + C | Command + C | 
| Paste | Ctrl + V | Command + V | 
| Format Document | Shift + Alt + F | Shift + Alt + F | 
| Toggle Line Comment | Ctrl + / | Command + / | 
| Search | Ctrl + F | Command + F | 
| Replace | Shift + Ctrl + F | Command + Alt + F | 
| Increase indent | Tab or Ctrl + ] | Tab or Command + ] | 
| Decrease indent | Shift + Tab or Ctrl + [ | Shift + Tab or Command + ] | 
| Comment out | Ctrl + / | Command + / | 
| Comment In | Ctrl + / | Command + / | 
| Increase font size | Ctrl + . | Command + . | 
| Decrease font size | Ctrl + , | Command + , | 
| Move a line down | Alt + Down | Option + Down | 
| Move a line up | Alt + Up | Option + Up | 
| Select all | Ctrl + A | Command + A | 
| Select downward | Shift + Down | Shift + Down | 
| Select right | Shift + Right | Shift + Right | 
| Select left | Shift + Left | Shift + Left | 
| Select upward | Shift + Up | Shift + Up | 
| Select to the end | Alt + Shift + Right | Alt + Shift + Right | 
| Select to the start | Alt + Shift + Left | Alt + Shift + Left | 
| Align text right | Ctrl + Shift + Rght | Command + Shift + Right | 
| Align text left | Ctrl + Shift + Left | Command + Shift + Left | 
| Add multi-curosr above | Ctrl + Alt + Up | Command + Alt + Up | 
| Add multi-cursor below | Ctrl + Alt + Down | Comment + Alt + Down | 
| Move multi-cursor from current line to line below | Ctrl + Alt + Shift + Down | Command + Alt + Shift + Down | 
| Command Palette | F1 | F1 |