Write & reuse SQL
Browse a local SQL repository from the editor.
Inspect SQL files, local branch state, and diffs without leaving the workspace.
Availability depends on the desktop build and selected database.
How it works
Link a local repository, open a SQL file, review its status, and switch only when the working tree is clean.
A quick walkthrough
- Link an existing local Git checkout.
- Review branch status and open-file changes before switching.
Default shortcuts
Use the dedicated UI for Git project browsing; SQL file shortcuts act on editor file operations.
| Action | Windows / Linux | macOS | Focus and effect |
|---|---|---|---|
| Open Git SQL Project | No dedicated default | No dedicated default | Open from AI & Sql Editor and select a local repository; no dedicated default is assigned. |
| Browse a project and load a script | No dedicated default | No dedicated default | Use the project, branch, and file controls; loading a script does not execute it. |
| Load a SQL file | Ctrl+Alt+Shift+L | ⌘+⌥+Shift+L | Load a local file into the SQL Editor without automatically executing it. |
| Save the SQL file | Ctrl+Alt+S | ⌘+⌥+S | In the SQL Editor, write or choose a local .sql file; check the overwrite destination. |
- Settings → Shortcuts shows configurable bindings; customized keys take precedence. Fixed dialog keys and mouse gestures may be managed by their own controls.
- On macOS, ⌘ means Command and ⌥ means Option. Function keys may require Fn. Delete means forward delete (often Fn+⌫ on a compact Mac keyboard); use the menu when Insert is unavailable.
Objects in this workflow
What to know
- The Git view does not create commits or sync a remote repository.
- Workspaces linked to the same checkout share its files and branch state.