The action logic editor supports a full set of keyboard shortcuts for editing,
autocomplete, navigation, and multi-cursor work. The ones you will reach for most
are listed below. On the keys, Ctrl is the Control key.
Command Shortcut Undo Ctrl+ZRedo Ctrl+Shift+Z (or Ctrl+Y)Cut Ctrl+XCopy Ctrl+CPaste Ctrl+VSelect all Ctrl+ASave and close the editor Ctrl+S
Command Shortcut Show autocomplete suggestions Ctrl+SpaceShow parameter hints for a function Ctrl+Shift+SpaceAccept the highlighted suggestion Enter or TabMove through the suggestion list Up / DownDismiss suggestions or a hover card Escape
Suggestions also appear on their own as you type, and after you type a ., (,
[, or a space.
Command Shortcut Find Ctrl+FFind and replace Ctrl+HGo to line Ctrl+GGo to start of the logic Ctrl+HomeGo to end of the logic Ctrl+EndOpen the command palette F1
Command Shortcut Indent Tab or Ctrl+]Outdent Shift+Tab or Ctrl+[Move the current line up or down Alt+Up / Alt+DownCopy the current line up or down Shift+Alt+Up / Shift+Alt+DownDelete the current line Ctrl+Shift+KFold or unfold a block Ctrl+Shift+[ / Ctrl+Shift+]
Folding is available in the full-size editor window.
Command Shortcut Toggle a line comment (//) Ctrl+/Toggle a block comment (/* */) Shift+Alt+A
Command Shortcut Select the next occurrence of the current word Ctrl+DSelect all occurrences of the current word Ctrl+Shift+LAdd a cursor with the mouse Alt+Click
Right-click anywhere in the editor and choose Insert Distribution to pick a
distribution and drop a ready-made time expression at the cursor.
Legacy How this worked in the previous version Keyboard shortcuts for the action logic window.
Command Key Magnify text size. Ctrl+Keypad+ Reduce text size. Ctrl+Keypad- Restore text size to normal. Ctrl+Keypad/ Open Keywords and Filters. Ctrl+K Show autocomplete. Ctrl+Enter Show Calltip. Ctrl+Shift+Space Print. Ctrl+P Undo. Ctrl+Z, Alt+Back Redo. Ctrl+Y, Alt+Shift+Back Cut. Ctrl+X, Shift+Del Copy. Ctrl+C, Ctrl+Ins Paste. Ctrl+V, Shift+Ins Select All. Ctrl+A Find. Ctrl+F Find Next. F3 Find Previous. Shift+F3 Replace. Ctrl+H Incremental Search. Ctrl+Alt+I Selection Add Next. Ctrl+Shift+D Go to Line. Ctrl+G Match Brace. Ctrl+E Select to Brace. Ctrl+Shift+E Make Selection Uppercase. Ctrl+Shift+U Make Selection Lowercase. Ctrl+U Full Screen. F11 Indent block. Tab Dedent block. Shift+Tab Delete to start of word. Ctrl+BackSpace Delete to end of word. Ctrl+Delete Delete to start of line. Ctrl+Shift+BackSpace Delete to end of line. Ctrl+Shift+Delete Go to start of document. Ctrl+Home Extend selection to start of document. Ctrl+Shift+Home Go to start of display line. Alt+Home Go to end of document. Ctrl+End Extend selection to end of document. Ctrl+Shift+End Go to end of display line. Alt+End Expand or contract a fold point. Ctrl+Keypad* Find selection. Ctrl+F3 Find selection backwards. Ctrl+Shift+F3 Scroll up. Ctrl+Up Scroll down. Ctrl+Down Line cut. Ctrl+L Line copy. Ctrl+Shift+T Line delete. Ctrl+Shift+L Line transpose with previous. Ctrl+T Selection duplicate. Ctrl+D Previous paragraph. Shift extends selection. Ctrl+[ Next paragraph. Shift extends selection. Ctrl+]