ST Editor Keyboard Shortcuts

ST Editor (common)

List of ST (common) Shortcuts
Shortcut Command
Arrows Move caretClosed The term caret is also sometimes used in graphical user interface terminology where it means a text insertion point indicator, frequently represented by a blinking vertical bar. In this context, it may be used interchangeably with the word cursor, although the latter term is often reserved for a mouse pointer
Shift + arrows Selection
Ctrl + left/right arrow Go to previous/next word
Shift + Ctrl + left/right arrow Select previous/next word
Ctrl+F2

Toggle Bookmark

First, select the Network header)

Shift+F2 Go to Next Bookmark
Ctrl+Shift+F2 Go to Previous Bookmark
Ctrl + mouse-wheel or
+ / – on the keypad
Zoom in / out

ST Editor (when editing)

List of ST Shortcuts when Editing
Shortcut Command
.

Select member of a structure or instance.

Ctrl + Spacebar

Auto completion or Open the variable selector dialog.

Ctrl + Shift + Spacebar

Opens a list of all the standard functions.

Ctrl + J

Auto completion or Open the variable selector dialog (an alternative method).

ST Editor (during debug)

List of ST Shortcuts during Debug
Shortcut Command
*

Lock variable

/

Unlock variable

Shift + double-click

Force a variable

Spacebar

Toggle the Boolean value or activate the dialog, lock, unlock the variable.

Equivalent of Shift + double click.