Skip to content

Commit 84475dc

Browse files
committed
Add right click option
Signed-off-by: worksofliam <[email protected]>
1 parent 147752b commit 84475dc

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@
319319
},
320320
{
321321
"command": "vscode-db2i.getStatementUri",
322-
"title": "Get shared statement URI",
322+
"title": "Copy sharable statement URI",
323323
"category": "Db2 for i"
324324
},
325325
{
@@ -755,6 +755,11 @@
755755
}
756756
],
757757
"editor/context": [
758+
{
759+
"command": "vscode-db2i.getStatementUri",
760+
"group": "sql@0",
761+
"when": "editorLangId == sql"
762+
},
758763
{
759764
"command": "vscode-db2i.json.pasteGenerator",
760765
"group": "sql@1",

src/contributes.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
},
9898
{
9999
"command": "vscode-db2i.getStatementUri",
100-
"title": "Get shared statement URI",
100+
"title": "Copy sharable statement URI",
101101
"category": "Db2 for i"
102102
}
103103
],
@@ -109,6 +109,11 @@
109109
}
110110
],
111111
"editor/context": [
112+
{
113+
"command": "vscode-db2i.getStatementUri",
114+
"group": "sql@0",
115+
"when": "editorLangId == sql"
116+
},
112117
{
113118
"command": "vscode-db2i.json.pasteGenerator",
114119
"group": "sql@1",

0 commit comments

Comments
 (0)