From 07858c4aea4690e661b4124de516c5a7c846812f Mon Sep 17 00:00:00 2001 From: Jack Huang Date: Mon, 25 Nov 2024 15:50:44 -0800 Subject: [PATCH] added gating to sidepanel shortcut Summary: Cmd -Shift - G turns out to be some Mac OS command. Adding a GK for user to disable. In the next diff, will think of a new shortcut to change to. Reviewed By: evangrayk Differential Revision: D66476854 fbshipit-source-id: a7cb145553cfc2ad9964e88dcbb8fb979f29ad6a --- addons/vscode/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/vscode/package.json b/addons/vscode/package.json index 1e794f1eeef05..2511761e99236 100644 --- a/addons/vscode/package.json +++ b/addons/vscode/package.json @@ -204,7 +204,7 @@ "command": "sapling.open-comments", "key": "ctrl-shift-g", "mac": "cmd-shift-g", - "when": "activeWebviewPanelId != 'sapling.comments'" + "when": "isl.inlineCommentSidePanelEnabled && activeWebviewPanelId != 'sapling.comments'" } ], "menus": {