feat(editor): add toggle fold shortcut

This commit is contained in:
yangqinlong authored and GitHub committed 2026-07-29 18:42:43 +08:00
1 parent 1a6e00acbb
commit b1f0784d49
11 files changed
+21 -1

No files matched your search

@@ -21,6 +21,7 @@ export type ShortcutActionId =
| "uppercaseSelection"
| "lowercaseSelection"
| "exPasteSqlInCondition"
| "toggleFold"
| "copyCurrentRow"
| "deleteCurrentRow"
| "newQuery"
@@ -202,6 +203,12 @@ export const SHORTCUT_DEFINITIONS: ShortcutDefinition[] = [
scope: "editor",
defaultShortcut: "",
},
{
id: "toggleFold",
labelKey: "settings.shortcutToggleFold",
scope: "editor",
defaultShortcut: "Mod+.",
},
{
id: "copyCurrentRow",
labelKey: "settings.shortcutCopyCurrentRow",