Keyboard shortcuts in the new SQL editor

The new SQL editor includes many built-in keyboard shortcuts to help you work quickly. The following table identifies commonly used keyboard shortcuts.

Function macOS shortcut Windows shortcut
Run a query Cmd + Enter Ctrl + Enter
Run a single highlighted statement Cmd + Shift + Enter Ctrl + Shift + Enter
Autocomplete Ctrl + Space Ctrl + Space
Increase font size Option + + (plus key) Alt + + (plus key)
Decrease font size Option + - (minus key) Alt + - (minus key)
Format SQL code Cmd + Shift + F Ctrl + Shift + F
View all shortcuts Esc then H Esc then H

To view the full list of shortcuts from within the editor, press Esc then H.