From edb59c86427417c38d01bf6fa972e7ae3bd5f551 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Fri, 6 Nov 2026 01:12:47 +0800 Subject: [PATCH] fix(keymap): bind table editor Submit and Revert in the VS Code presets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The VS Code presets list every IntelliJ action explicitly, and the table editor's Submit / Revert actions were missing there (keymap.test.ts failed). They use ⌘↩ / ⌥⌘Z (Ctrl+Enter / Ctrl+Alt+Z on Windows), active only while a table editor's grid has focus. --- src/platform/keymaps/vscode-macos.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform/keymaps/vscode-macos.ts b/src/platform/keymaps/vscode-macos.ts index 5bb0e099..6ca67978 100644 --- a/src/platform/keymaps/vscode-macos.ts +++ b/src/platform/keymaps/vscode-macos.ts @@ -23,6 +23,8 @@ export const vscodeMacos: Record = { "navigate.typeDeclaration": [], "navigate.fileStructure": ["Meta+Shift+O"], "db.goToColumn": ["Meta+Shift+O"], + "db.submitChanges": ["Meta+Enter"], + "db.revertChanges": ["Meta+Alt+Z"], "navigate.relatedSymbol": [], "navigate.nextError": ["F8"], "navigate.prevError": ["Shift+F8"],