From 1a0d7b3a3f73bb0121f73c8f46fd27709c6ff7c0 Mon Sep 17 00:00:00 2001 From: Liam Allan Date: Sun, 7 May 2023 15:17:01 -0400 Subject: [PATCH] Only enable command when active file is SQL Signed-off-by: Liam Allan --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c3120665..35ba911f 100644 --- a/package.json +++ b/package.json @@ -124,7 +124,8 @@ { "command": "vscode-db2i.runEditorStatement", "key": "ctrl+r", - "mac": "cmd+r" + "mac": "cmd+r", + "when": "editorLangId == sql" } ], "commands": [