Code Editor

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

DescriptionWindows/LinuxMac
UndoCtrl + ZCommand + Z
RedoCtrl + YShift + Command + Z or Command + Y
CutCtrl + XCommand + X
CopyCtrl + CCommand + C
PasteCtrl + VCommand + V
Format DocumentShift + Alt + FShift + Alt + F
Toggle Line CommentCtrl + /Command + /
SearchCtrl + FCommand + F
ReplaceShift + Ctrl + FCommand + Alt + F
Increase indentTab or Ctrl + ]Tab or Command + ]
Decrease indentShift + Tab or Ctrl + [Shift + Tab or Command + ]
Comment outCtrl + /Command + /
Comment InCtrl + /Command + /
Increase font sizeCtrl + .Command + .
Decrease font sizeCtrl + ,Command + ,
Move a line downAlt + DownOption + Down
Move a line upAlt + UpOption + Up
Select allCtrl + ACommand + A
Select downwardShift + DownShift + Down
Select rightShift + RightShift + Right
Select leftShift + LeftShift + Left
Select upwardShift + UpShift + Up
Select to the endAlt + Shift + RightAlt + Shift + Right
Select to the startAlt + Shift + LeftAlt + Shift + Left
Align text rightCtrl + Shift + RghtCommand + Shift + Right
Align text leftCtrl + Shift + LeftCommand + Shift + Left
Add multi-curosr aboveCtrl + Alt + UpCommand + Alt + Up
Add multi-cursor belowCtrl + Alt + DownComment + Alt + Down
Move multi-cursor from current line to line belowCtrl + Alt + Shift + DownCommand + Alt + Shift + Down
Command PaletteF1F1