Skip to content

Commit 1a0d7b3

Browse files
committed
Only enable command when active file is SQL
Signed-off-by: Liam Allan <[email protected]>
1 parent 9a0e8d4 commit 1a0d7b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@
124124
{
125125
"command": "vscode-db2i.runEditorStatement",
126126
"key": "ctrl+r",
127-
"mac": "cmd+r"
127+
"mac": "cmd+r",
128+
"when": "editorLangId == sql"
128129
}
129130
],
130131
"commands": [

0 commit comments

Comments
 (0)