---
title: "Keyboard Shortcuts"
description: "Complete keyboard shortcuts reference for Jam SQL Studio: query execution, navigation, editing, and results on macOS, Windows, and Linux."
url: "https://jamsql.com/docs/keyboard-shortcuts/"
html_url: "https://jamsql.com/docs/keyboard-shortcuts/"
generated: "2026-10-09T22:46:36.252Z"
---

Last updated: 2026-09-25

# Keyboard Shortcuts

Reference for query execution, navigation, editing, and results shortcuts on macOS, Windows, and Linux.

The shortcuts in the Global, Query Editor, Notebook, Visual Query Editor and foreign key breadcrumb tables can be changed in **Settings → Keyboard Shortcuts**; see [Customising shortcuts](#customising-shortcuts). To use the keys of SSMS, Azure Data Studio, DataGrip, DBeaver or the VS Code mssql extension, pick that tool’s [shortcut scheme](#shortcut-schemes).

**Tip:** Print this page or bookmark it for quick reference while learning Jam SQL Studio.

## Global Shortcuts

These shortcuts work throughout the application, regardless of which panel has focus.

Action

macOS

Windows/Linux

New Query

`Cmd+N`

`Ctrl+N`

New Notebook

`Cmd+Shift+N`

`Ctrl+Shift+N`

Open SQL File

`Cmd+O`

`Ctrl+O`

Open Data Import

`Cmd+I`

`Ctrl+I`

Close Tab

`Cmd+W`

`Ctrl+W`

Toggle Terminal

`` Ctrl+` ``

`` Ctrl+` ``

Toggle Sidebar

`Cmd+B` or `Ctrl+B`

`Ctrl+B`

Expand Explorer

`Cmd+Shift+E` or `Ctrl+Shift+E`

`Ctrl+Shift+E`

Expand Scripts

`Ctrl+Shift+S`

`Ctrl+Shift+S`

Go to Start Page

`Cmd+Shift+H` or `Ctrl+Shift+H`

`Ctrl+Shift+H`

Command Palette

`Cmd+Shift+P`

`Ctrl+Shift+P`

Search Query History

`Cmd+Shift+Y`

`Ctrl+Shift+Y`

Toggle Visual view

`Cmd+Shift+V`

`Ctrl+Shift+V`

Settings

`Cmd+,`

`Ctrl+,`

AI Integrations Settings

`Ctrl+Shift+A`

`Ctrl+Shift+A`

Go to tab 1–9 (9 = last tab)

`Cmd+1`…`Cmd+9`

`Ctrl+1`…`Ctrl+9`

You can change these shortcuts in [Settings → Keyboard Shortcuts](#customising-shortcuts).

**Terminal focus:** when the embedded terminal has focus, its shell keeps `Ctrl+N`, `Ctrl+O`, and other terminal input. On macOS, `Cmd` shortcuts still work while the terminal has focus; only `Ctrl` combinations are left to the shell. Click the app toolbar or workspace before using the matching Jam SQL shortcut.

## Tab Strip Keyboard Navigation

The workspace tab strip is a single keyboard stop: only the active tab is in the Tab order, so pressing `Tab` moves on to the next toolbar/panel instead of walking every open tab.

-   **Arrow Left / Right** — move focus between tabs (does not activate them); focus wraps from the last tab back to the first
-   **Enter** or **Space** — activate the focused tab
-   **Shift+F10** (or the **Menu** key) — open the focused tab's right-click menu from the keyboard
-   **Middle-click** — close a tab without switching to it first
-   The close button becomes visible once a tab has keyboard focus, not only on mouse hover

## Command Palette

The Command Palette (`Cmd+Shift+P` on macOS, `Ctrl+Shift+P` on Windows/Linux) gives you fuzzy-searchable access to every command, database object, saved connection, and setting from a single keyboard-driven interface.

### What You Can Do

-   **Run workspace commands** — open a New Query, Table Explorer, Schema Compare, Data Compare, start a cross-engine migration (Migrate Database/Table to Connection), and more
-   **Search database objects** — find tables, views, stored procedures, and functions by name, then drill down into contextual actions (Select Top, Script CREATE, Design Table, etc.)
-   **Quick-connect** — search saved connections and connect with a single Enter
-   **Toggle settings** — switch dark mode, open specific settings sections, toggle sidebar or terminal
-   **Navigate** — go to Home, open Tab History, expand Explorer or Scripts panel

### Tips

-   Each command shows its keyboard shortcut badge, so the palette doubles as a shortcut reference.
-   Use **Shift+Enter** on a command that needs a connection to force the connection/database selector dialog instead of using the explorer's current selection.
-   Press **Backspace** on an empty search to return from an object's action sub-menu to the main search.
-   The palette is also accessible from the search trigger on the Start Page and the toolbar search button.

## Query Editor Shortcuts

Shortcuts for writing and executing SQL queries in the query editor. The Execution, View, IntelliSense and Transactions shortcuts, and Save, Save As and Format SQL under Editing, can be changed in [Settings → Keyboard Shortcuts](#customising-shortcuts); the other editing shortcuts are fixed.

### Execution

Action

macOS

Windows/Linux

Execute Query

`F5`

`F5`

Execute Selection

`F5`, `Cmd+Enter` or `Shift+Enter`

`F5`, `Ctrl+Enter` or `Shift+Enter`

Execute Current Statement

`Cmd+Enter` or `Shift+Enter`

`Ctrl+Enter` or `Shift+Enter`

Execute Full Editor Content (ignore selection)

`Shift+F5`

`Shift+F5`

With the cursor on an empty line between or after statements, `Cmd/Ctrl+Enter` and `Shift+Enter` run the statement above the cursor, while `F5` runs the entire editor content. Above the first statement they run nothing and the status bar shows “No statement at cursor.”

`F5` can run the active Query Editor while focus is on application controls such as the main toolbar or Object Explorer. `Cmd/Ctrl+Enter` and `Shift+Enter` remain scoped to the Query Editor surface and do not run from those controls.

While a Query tab shows its [Visual view](../visual-query-editor/#visual-view), `F5` and `Cmd/Ctrl+Enter` run the statement shown there (the toolbar’s Execute reads **Statement**), and `Shift+F5` still runs the whole script.

**Editor key costs:** `Cmd/Ctrl+Enter` runs the current statement instead of Monaco's Insert Line Below command. `Shift+Enter` runs the current statement instead of inserting a newline or accepting an alternative suggestion. Use plain `Enter` to insert a newline.

Shortcuts owned by the main Jam SQL window do not receive key events from the AWR report iframe. Click outside the report before using one of these shortcuts.

### View

Action

macOS

Windows/Linux

Toggle Results Pane

`Cmd+J`

`Ctrl+J`

### IntelliSense

Action

macOS

Windows/Linux

Refresh IntelliSense (re-read the schema behind autocomplete for the tab's connection and database)

`Cmd+Shift+R`

`Ctrl+Shift+R`

### Transactions

Action

macOS

Windows/Linux

Commit transaction

`Cmd+Shift+C`

`Ctrl+Shift+C`

Rollback transaction

`Cmd+Shift+X`

`Ctrl+Shift+X`

### Editing

Action

macOS

Windows/Linux

Save query

`Cmd+S`

`Ctrl+S`

Save query as

`Cmd+Shift+S`

`Ctrl+Shift+S`

Format SQL

`Shift+Alt+F`

`Shift+Alt+F`

Comment Line

`Cmd+/`

`Ctrl+/`

Block Comment

`Shift+Alt+A`

`Shift+Alt+A`

Find

`Cmd+F`

`Ctrl+F`

Find and Replace

`Cmd+Alt+F`

`Ctrl+H`

Find Next

`Cmd+G`

`F3`

Find Previous

`Cmd+Shift+G`

`Shift+F3`

Undo

`Cmd+Z`

`Ctrl+Z`

Redo

`Cmd+Shift+Z`

`Ctrl+Y`

Select All

`Cmd+A`

`Ctrl+A`

Duplicate Line

`Shift+Alt+Down`

`Shift+Alt+Down`

Delete Line

`Cmd+Shift+K`

`Ctrl+Shift+K`

Move Line Up

`Alt+Up`

`Alt+Up`

Move Line Down

`Alt+Down`

`Alt+Down`

Indent Line

`Tab`

`Tab`

Outdent Line

`Shift+Tab`

`Shift+Tab`

Trigger Parameter Hints

`Cmd+Shift+Space`

`Ctrl+Shift+Space`

### Cursor and Selection

Action

macOS

Windows/Linux

Multi-cursor (Add)

`Alt+Click`

`Alt+Click`

Add Cursor Above

`Cmd+Alt+Up`

`Ctrl+Alt+Up`

Add Cursor Below

`Cmd+Alt+Down`

`Ctrl+Alt+Down`

Select Word

`Cmd+D`

`Ctrl+D`

Select All Occurrences

`Cmd+Shift+L`

`Ctrl+Shift+L`

Expand Selection

`Ctrl+Shift+Cmd+Right`

`Shift+Alt+Right`

Shrink Selection

`Ctrl+Shift+Cmd+Left`

`Shift+Alt+Left`

Go to Line

`Ctrl+G`

`Ctrl+G`

Go to Beginning

`Cmd+Home`

`Ctrl+Home`

Go to End

`Cmd+End`

`Ctrl+End`

## Notebook Shortcuts

Shortcuts for saving the active notebook.

Action

macOS

Windows/Linux

Save notebook

`Cmd+S`

`Ctrl+S`

Save notebook as

`Cmd+Shift+S`

`Ctrl+Shift+S`

You can change these shortcuts, and Run cell, Run cell and advance and Run cell and insert below, in [Settings → Keyboard Shortcuts](#customising-shortcuts).

## Dashboards Shortcuts

Shortcuts for the [SQL Dashboards](../dashboards/) grid. Focus a tile first (click it or Tab to it).

Action

macOS

Windows/Linux

Move focused tile

`Arrow keys`

`Arrow keys`

Resize focused tile

`Shift+Arrow keys`

`Shift+Arrow keys`

Exit present mode

`Escape`

`Escape`

## Visual Query Editor Shortcuts

Shortcuts for the Visual Query Editor (VQE) — the structural, no-SQL-typing view of the active statement. See [Visual Query Editor](../visual-query-editor/) for the full feature guide.

Action

macOS

Windows/Linux

Toggle Visual view

`Cmd+Shift+V`

`Ctrl+Shift+V`

Open Keyboard-Shortcut Help

`?`

`?`

Move Focus (Next / Previous Control)

`Tab` / `Shift+Tab`

`Tab` / `Shift+Tab`

Activate Control / Open Statement Picker

`Enter`

`Enter`

Apply Filter or Value Edit

`Enter`

`Enter`

Cancel Editor / Close Popover

`Escape`

`Escape`

Pick Up / Drop Chip to Reorder (SELECT, GROUP BY)

`Space` or `Enter`

`Space` or `Enter`

Move Picked-Up Chip

`Arrow keys`

`Arrow keys`

Cancel Reorder

`Escape`

`Escape`

Undo Last Edit

`Cmd+Z`

`Ctrl+Z`

Redo Last Edit

`Cmd+Shift+Z`

`Ctrl+Shift+Z`

Move Between Statements in Picker

`Arrow keys`

`Arrow keys`

Execute Active Statement

`Cmd+Enter`

`Ctrl+Enter`

In a Query tab’s Visual view, Undo and Redo step through the Query Editor’s own history, so typed and visual edits undo in one order.

Toggle Visual view and Execute Active Statement can be changed in [Settings → Keyboard Shortcuts](#customising-shortcuts); the other Visual Query Editor keys are fixed.

## Visual DDL Editor Shortcuts

Shortcuts for the Compact DDL editor popover (opened from the pencil affordance in the Query Editor) and the buffer-backed Table Designer. See [Table Designer](../table-designer/) and [Query Editor → Compact DDL Editor](../query-editor/#compact-ddl-editor) for full feature docs.

Action

macOS

Windows/Linux

Dismiss Popover

`Escape`

`Escape`

Undo Visual Edit

`Cmd+Z`

`Ctrl+Z`

## Navigation Shortcuts

Navigate between tabs, panels, and views — plus jump to a SQL identifier's definition, find its references, or rename it from the editor cursor. See [Query Editor → Go to Definition, Find References, and Rename](../query-editor/#go-to-definition-find-references-rename) for the full feature breakdown.

Action

macOS

Windows/Linux

Focus Object Explorer

`Ctrl+Shift+E`

`Ctrl+Shift+E`

Toggle Full Screen

`Ctrl+Cmd+F`

`F11`

Zoom In

`Cmd+=`

`Ctrl+=`

Zoom Out

`Cmd+-`

`Ctrl+-`

Reset Zoom

`Cmd+0`

`Ctrl+0`

Go to Definition

`F12`

`F12`

Go to Definition (Click)

`Cmd+Click`

`Ctrl+Click`

Peek References (inline panel)

`Shift+F12`

`Shift+F12`

Rename Symbol

`F2`

`F2`

Quick Fix (code actions at the cursor)

`Cmd+.`

`Ctrl+.`

## Results Grid Shortcuts

Shortcuts for working with query results and table data.

Action

macOS

Windows/Linux

Copy Selection

`Cmd+C`

`Ctrl+C`

Select Row

`Click row number`

`Click row number`

Extend Selection

`Shift+Click`

`Shift+Click`

Multi-select Rows

`Cmd+Click`

`Ctrl+Click`

Navigate Cells

`Arrow keys`

`Arrow keys`

Page Down

`Page Down`

`Page Down`

Page Up

`Page Up`

`Page Up`

Go to First Row

`Cmd+Home`

`Ctrl+Home`

Go to Last Row

`Cmd+End`

`Ctrl+End`

## Table Explorer Shortcuts

Shortcuts for browsing and editing table data in Table Explorer.

Action

macOS

Windows/Linux

Discard Changes

`Escape`

`Escape`

## Azure Storage Browser Shortcuts

Shortcuts for the [storage browser](../azure-storage/) tab on an Azure Storage connection. They apply to blob containers and to file shares, share folders and share snapshots alike.

Action

macOS

Windows/Linux

Open the selected folder

`Enter`

`Enter`

Go up one level

`Backspace`

`Backspace`

Copy the selection

`Cmd+C`

`Ctrl+C`

Copy names only

`Cmd+Shift+C`

`Ctrl+Shift+C`

Select every loaded row

`Cmd+A`

`Ctrl+A`

Focus the prefix filter

`Cmd+F`

`Ctrl+F`

Delete selected blobs or folders (opens confirmation; disabled on read-only connections)

`Delete`

`Delete`

## Foreign Key Breadcrumb Navigation

Walk the [FK navigation tree](../table-explorer/#foreign-key-navigation) inside a Table Explorer tab without taking your hands off the keyboard.

Action

macOS

Windows/Linux

Activate previous sibling (or previous in the active path)

`Cmd+←`

`Ctrl+←`

Activate next sibling (or next in the active path)

`Cmd+→`

`Ctrl+→`

Activate parent

`Cmd+↑`

`Ctrl+↑`

Activate first child

`Cmd+↓`

`Ctrl+↓`

All four shortcuts can be changed in [Settings → Keyboard Shortcuts](#customising-shortcuts).

## Object Explorer Shortcuts

Shortcuts for navigating and interacting with database objects.

Action

macOS

Windows/Linux

Expand Node

`Right Arrow`

`Right Arrow`

Collapse Node

`Left Arrow`

`Left Arrow`

Navigate Up/Down

`Up/Down Arrow`

`Up/Down Arrow`

Open Object

`Enter`

`Enter`

Context Menu

`Right-click` or `Ctrl+Click`

`Right-click` or `Shift+F10`

## Snippets

Shortcuts for using code snippets.

Action

macOS

Windows/Linux

Expand Snippet

`Tab`

`Tab`

Next Placeholder

`Tab`

`Tab`

Previous Placeholder

`Shift+Tab`

`Shift+Tab`

Exit Snippet Mode

`Escape`

`Escape`

## Schema Overview Shortcuts

Shortcuts for navigating the schema visualization.

Action

macOS

Windows/Linux

Zoom In

`Scroll Up`

`Scroll Up`

Zoom Out

`Scroll Down`

`Scroll Down`

Pan

`Click + Drag`

`Click + Drag`

Select Node

`Click`

`Click`

Open Selected Object

`Double-click`

`Double-click`

## Customising shortcuts

Open **Settings → Keyboard Shortcuts** to change a shortcut. The tab lists every command you can rebind, grouped by where it works (Query Editor, notebooks, Visual Query Editor, PL/SQL editor and debugger, foreign key breadcrumb, global). Each row shows the current shortcuts, a badge — *Default*, *Scheme default* when the selected [scheme](#shortcut-schemes) sets the row, or *Customised* — and a Reset button once you have changed it. The search box filters by action name or by key, for example `ctrl+j`.

### Recording a shortcut

-   Click a shortcut and press the new keys. `Esc` cancels. `Backspace` removes that shortcut and its keys go back to the editor or the text field, so `Shift+Enter` inserts a newline again once it is removed from Execute Current Statement. If it was the command's only shortcut, the command is left without one.
-   Click **+** to give a command a second shortcut. Both run it. A command without a shortcut shows **Not bound**; click it to record one.
-   A shortcut needs `Ctrl`, `Cmd` or `Alt`, or a function key. Plain keys and `Shift` plus a character key are refused because they type text; `Shift+Enter` and `Shift+F5` are fine.
-   Keys that belong to the operating system or to the app menu’s built-in items, such as `Cmd+Q`, `Cmd/Ctrl+C`, `Cmd/Ctrl+V`, `Cmd/Ctrl+Z` and `Alt+F4`, are refused, and the tab says why. Pressing them while recording does not quit or copy anything. `Cmd/Ctrl+W` is Close Tab and can be changed; pressing it while recording does not close a tab.
-   On macOS, Option (`⌥`) combinations also type characters in text fields, so a shortcut like `Option+X` only applies inside its own area of the app.
-   Keys are recorded by the character your keyboard layout puts on them. While the app is still reading the layout, the recorder shows *Loading keyboard layout…*. A key the layout cannot name is recorded by its position and shown with its label, for example `Ctrl+ö [Semicolon]`. While a layout whose letters are not Latin, such as Russian or Greek, is active, a shortcut such as `Ctrl+S` works from the key that types S on a US keyboard. Layouts with Latin letters, such as German or French, are not changed this way: a key like `ö` or `é` runs only a shortcut recorded on that key.
-   `Cmd` on macOS and `Ctrl` on Windows and Linux are saved as the same key, so an exported shortcut works on the other platform.

### Conflicts

-   If another command in the same area already uses the keys, the shortcut moves to the command you changed and the other command loses it. A note at the top of the tab says what moved and offers **Undo**.
-   A command that works in one area, such as the Query Editor, can share a shortcut with a global command. Both rows show a warning: the Query Editor command runs while a Query Editor tab is active, and the global command runs everywhere else.
-   A row shows a warning when a shortcut you recorded replaces one of the SQL editor’s own shortcuts while the editor has focus (for example `Cmd/Ctrl+F`, which would no longer open Find there). The shortcuts Jam SQL ships with do not repeat this warning; their editor costs are listed under [Query Editor Shortcuts](#query-editor). Other warnings, such as a shortcut that works in the terminal being a common shell key, show on every row.
-   A conflict that exists only on this platform, for example a `Ctrl+Enter` shortcut imported from a Mac, where Control and Command are different keys, is shown under the affected shortcut rather than at the top, and the shortcut stays saved.
-   A shortcut that lost a conflict is crossed out. When it lost to another command’s shortcut, record the same keys again on it to make it win; the other command then loses them, with **Undo** at the top. A shortcut crossed out because of your keyboard layout, one the platform reserves, or one that is the same keys as another shortcut of the same command cannot win that way — choose different keys.

### Reset, persistence and transfer

-   **Reset** on a row returns that command to the selected scheme’s default. **Reset all to scheme defaults** resets every command and keeps the scheme. If a reset takes a shortcut back from another command, the note at the top says so.
-   Changes are saved at once and kept after a restart. Toolbar tooltips, the Command Palette and the app menu show the new keys.
-   [Settings → Backup & Transfer](../getting-started/#backup-transfer) includes your shortcuts in a settings export. Importing replaces the shortcuts on the other machine; a conflict found during the import that moved a shortcut is listed at the top of the tab, without Undo, and a conflict that exists only on this platform or keyboard layout, or a default shortcut that one of the imported shortcuts uses, is shown under the affected shortcut. A shortcut the other platform reserves, such as F11 for full screen on Windows and Linux, stays saved but does nothing there.
-   Shortcuts saved by a newer version of Jam SQL for commands this version does not have are listed at the top of the tab with a **Remove** button.

### Shortcut schemes

The **Scheme** picker at the top of the tab switches the defaults to another tool’s keys. *Jam SQL (default)* uses the shortcuts listed on this page. The other schemes change only the commands in the table below; every other command keeps its Jam SQL shortcut, and a row a scheme sets shows the *Scheme default* badge.

-   Switching schemes keeps your own shortcuts. A scheme shortcut that clashes with one of yours is inactive while that scheme is active: it is crossed out with a note under its row, and nothing about that command is saved, so it gets its keys back when you switch to a scheme without the clash or change your own shortcut. If that command’s shortcuts change, its crossed-out shortcut is not kept; **Reset** brings the scheme’s shortcuts back and takes them from any other command that uses them, except a conflict caused by your keyboard layout, which needs different keys.
-   **Reset** returns a row to the scheme’s shortcut, and **Reset all to scheme defaults** keeps the scheme.
-   The scheme is saved with your shortcuts and included in a settings export.

Scheme

Command

Windows / Linux

macOS

SSMS / Azure Data Studio

Execute

`F5` (Jam SQL default)

`F5` (Jam SQL default)

Cancel query

`Alt+Pause` (Alt+Break)

No macOS key (Mac keyboards have no Pause key)

Toggle results pane

`Ctrl+R`

`Cmd+J` (Jam SQL default)

JetBrains DataGrip

Execute current statement

`Ctrl+Enter` (Jam SQL default)

`Cmd+Enter` (Jam SQL default)

Cancel query

`Ctrl+F2`

`Cmd+F2`

Format SQL

`Ctrl+Alt+L`

`Cmd+Option+L`

DBeaver

Execute current statement

`Ctrl+Enter` (Jam SQL default)

`Cmd+Enter` (Jam SQL default)

Execute whole buffer

`Alt+X`

`Option+X`

Toggle results pane

`Ctrl+T`

`Control+T`

Format SQL

`Ctrl+Shift+F`

`Control+Shift+F`

VS Code mssql extension

Execute

`Ctrl+Shift+E`

`Cmd+Shift+E`

`Cmd/Ctrl+Enter` and `Shift+Enter` run the statement under the cursor in every scheme; that is also what `Cmd/Ctrl+Enter` does in DataGrip and DBeaver. `F5` runs the query in every scheme except the VS Code mssql extension, where `Cmd/Ctrl+Shift+E` replaces it. With DBeaver, `Alt+X` replaces `Shift+F5`. With the VS Code mssql extension scheme, `Cmd/Ctrl+Shift+E` runs the query whenever a Query Editor tab is active, also while focus is in the Object Explorer or the results grid, and, as Execute does, runs the statement under the cursor in a multi-statement buffer rather than the whole document; outside Query Editor tabs the key keeps expanding the Explorer, and both rows show a note about it. Microsoft documents no macOS key for the SSMS results pane, so macOS keeps `Cmd+J` there. On many Linux desktops `Ctrl+Alt+L`, DataGrip’s Format SQL key, is the lock-screen shortcut, so the desktop may take it before Jam SQL sees it. On Windows keyboard layouts that have an AltGr key, such as German, Polish or French, `Ctrl+Alt` acts as AltGr, so `Ctrl+Alt+L` does not work as a shortcut there; record a different Format SQL key.

Sources, checked on 2026-09-23: [SSMS keyboard shortcuts](https://learn.microsoft.com/en-us/ssms/sql-server-management-studio-keyboard-shortcuts) and the [MSSQL extension and MSSQL Database Management Keymap shortcuts](https://learn.microsoft.com/en-us/sql/tools/visual-studio-code-extensions/mssql/mssql-keyboard-shortcuts) (Microsoft Learn); the [DataGrip keyboard shortcuts](https://www.jetbrains.com/help/datagrip/mastering-keyboard-shortcuts.html), [Run queries](https://www.jetbrains.com/help/datagrip/run-a-query.html) and [Reformat code](https://www.jetbrains.com/help/datagrip/reformat-and-rearrange-code.html) pages; the [DBeaver shortcuts](https://dbeaver.com/docs/dbeaver/Shortcuts/) page.

### What cannot be changed

The SQL editor’s editing shortcuts (comment, find, multi-cursor, move line), Notebook command-mode letters, `Cmd/Ctrl+C` and `Escape` in the results grids, the [Azure Storage browser keys](#storage-browser), the arrow keys in the tab strip, and the app menu’s built-in items such as Copy, Paste, Undo, Minimize and Quit keep their shortcuts.

**Print-friendly:** Use `Cmd+P` (macOS) or `Ctrl+P` (Windows/Linux) to print this page for a quick reference card.

## Frequently asked questions

What is the keyboard shortcut to execute a SQL query?

Press F5 to execute your query. It runs the narrowest available scope — a runnable selection if present, else the statement under the cursor, else the full editor content. Cmd/Ctrl+Enter and Shift+Enter run the selection or the current statement without a completeness check; with the cursor on an empty line they run the statement above it, never the whole editor content. Shift+F5 always runs the entire editor content.

How do I format SQL code in Jam SQL Studio?

Press Shift+Alt+F to format your SQL code. This works on both macOS and Windows/Linux.

How do I open a new query tab?

Press Cmd/Ctrl+N to open a new query tab. Press Cmd/Ctrl+W to close the active tab, or use its close (×) button.

How do I change a keyboard shortcut in Jam SQL Studio?

Open Settings → Keyboard Shortcuts, click the shortcut and press the new keys. Esc cancels and Backspace removes the shortcut. The + button adds a second shortcut, and Reset returns a command to its default. If another command in the same area already uses the keys, it loses them and a note at the top of the tab offers Undo.

Can I use SSMS, DataGrip, DBeaver or VS Code shortcuts in Jam SQL Studio?

Yes. In Settings → Keyboard Shortcuts, pick a scheme: SSMS / Azure Data Studio, JetBrains DataGrip, DBeaver or VS Code mssql extension. The scheme switches the shortcuts for executing, cancelling, formatting and showing the results pane to that tool’s keys, and keeps any shortcut you changed yourself. See [Shortcut schemes](#shortcut-schemes) for the keys each scheme uses.

What is the shortcut to view an execution plan?

Use the Plan dropdown in the query toolbar: Execute with Actual Plan runs the query and captures the real plan, and Estimated Plan captures the plan without executing. There is no dedicated keyboard shortcut.

How do I cancel a running query?

Click the Stop button in the toolbar while a query is running. Jam SQL Studio requests cancellation, and the button changes to Stopping… — click it again to force the stop. A statement already waiting on the server may run until its wait ends: on Oracle the forced stop drops the connection so the query returns at once, but the database session finishes what it had already started.

How do I open the Command Palette in Jam SQL Studio?

Press Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows/Linux to open the Command Palette. You can also click the search trigger on the Start Page or the toolbar search button. The palette lets you fuzzy-search every command, database object, saved connection, and setting. Select a database object to drill down into contextual actions like Select Top, Script CREATE, or Design Table.