Skip to content

Commit 365ff2c

Browse files
sebjulliandchrjorgensen
authored andcommitted
Added key bindings for "run all" and "run from cursor"
Signed-off-by: Seb Julliand <[email protected]>
1 parent 3da4937 commit 365ff2c

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,6 +1458,18 @@
14581458
"mac": "cmd+ctrl+r",
14591459
"when": "editorLangId == sql"
14601460
},
1461+
{
1462+
"command": "vscode-db2i.runEditorStatement.multiple.all",
1463+
"key": "ctrl+shift+a",
1464+
"mac": "cmd+shift+a",
1465+
"when": "editorLangId == sql && resourceExtname != .inb"
1466+
},
1467+
{
1468+
"command": "vscode-db2i.runEditorStatement.multiple.from",
1469+
"key": "ctrl+shift+r",
1470+
"mac": "cmd+shift+r",
1471+
"when": "editorLangId == sql && resourceExtname != .inb"
1472+
},
14611473
{
14621474
"command": "vscode-db2i.editorExplain.withRun",
14631475
"key": "ctrl+u",

src/views/results/contributes.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,18 @@
215215
"mac": "cmd+ctrl+r",
216216
"when": "editorLangId == sql"
217217
},
218+
{
219+
"command": "vscode-db2i.runEditorStatement.multiple.all",
220+
"key": "ctrl+shift+a",
221+
"mac": "cmd+shift+a",
222+
"when": "editorLangId == sql && resourceExtname != .inb"
223+
},
224+
{
225+
"command": "vscode-db2i.runEditorStatement.multiple.from",
226+
"key": "ctrl+shift+r",
227+
"mac": "cmd+shift+r",
228+
"when": "editorLangId == sql && resourceExtname != .inb"
229+
},
218230
{
219231
"command": "vscode-db2i.editorExplain.withRun",
220232
"key": "ctrl+u",

0 commit comments

Comments
 (0)