feat(editor): add SQL block comment action

This commit is contained in:
Melody Ruch authored and GitHub committed 2026-08-16 11:29:03 +08:00
1 parent 34a4f5d78a
commit e18222628d
14 files changed
+127 -3

No files matched your search

@@ -6,6 +6,7 @@ export type ShortcutActionId =
| "formatSql"
| "expandSelectStar"
| "toggleLineComment"
| "toggleBlockComment"
| "saveSql"
| "acceptCompletion"
| "indentMore"
@@ -119,6 +120,12 @@ export const SHORTCUT_DEFINITIONS: ShortcutDefinition[] = [
scope: "editor",
defaultShortcut: "Mod+/",
},
{
id: "toggleBlockComment",
labelKey: "settings.shortcutToggleBlockComment",
scope: "editor",
defaultShortcut: "Shift+Alt+A",
},
{
id: "saveSql",
labelKey: "settings.shortcutSaveSql",