Skip to content

SqlKit keyboard shortcuts ​

These shortcuts apply in the Queries workspace. Click inside the SQL editor before using an editor shortcut.

ActionmacOSWindows and Linux
Run selected SQL or the statement at the cursor⌘ + EnterCtrl + Enter
Save the query as a .sql file or update its saved file⌘ + SCtrl + S
Toggle a line comment⌘ + /Ctrl + /
Format SQLOption + Shift + FAlt + Shift + F
Show autocomplete suggestions⌘ + SpaceCtrl + Space
Explain the query, where supportedF6F6
Close the active workspace tab⌘ + WCtrl + W

Highlight the SQL you want to run before pressing ⌘ + Enter or Ctrl + Enter. With no selection, the editor runs the statement at the cursor. Use Execute in the toolbar to run the full editor contents.

If ⌘ + Space opens Spotlight, change the Spotlight binding in macOS Keyboard Shortcuts so you can use that shortcut in SqlKit.

See the SQL editor guide for query results, exports, and execution plans.