Skip to content

Commit bf04eb8

Browse files
committed
update commands
1 parent 4f17211 commit bf04eb8

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

package.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "devchat",
33
"displayName": "${ASSISTANT_NAME_ZH}",
44
"description": "Write prompts, not code",
5-
"version": "0.1.74",
5+
"version": "0.1.84",
66
"icon": "assets/devchat.png",
77
"publisher": "${PUBLISHER}",
88
"engines": {
@@ -91,6 +91,10 @@
9191
]
9292
},
9393
"commands": [
94+
{
95+
"command": "devchat.triggerCodeComplete",
96+
"title": "Trigger Code Complete"
97+
},
9498
{
9599
"command": "devchat.applyDiffResult",
96100
"title": "Apply Diff",
@@ -189,6 +193,12 @@
189193
"command": "devchat.openChatPanel",
190194
"key": "ctrl+shift+/",
191195
"mac": "cmd+shift+/"
196+
},
197+
{
198+
"command": "devchat.triggerCodeComplete",
199+
"key": "ctrl+shift+'",
200+
"mac": "ctrl+shift+'",
201+
"when": "editorTextFocus"
192202
}
193203
],
194204
"menus": {
@@ -220,6 +230,10 @@
220230
"command": "devchat.addConext_chinese",
221231
"when": "false"
222232
},
233+
{
234+
"command": "devchat.triggerCodeComplete",
235+
"when": "false"
236+
},
223237
{
224238
"command": "devchat.askForCode_chinese",
225239
"when": "false"
@@ -290,6 +304,11 @@
290304
}
291305
],
292306
"editor/context": [
307+
{
308+
"command": "devchat.triggerCodeComplete",
309+
"when": "editorTextFocus",
310+
"group": "navigation"
311+
},
293312
{
294313
"command": "devchat.askForCode_chinese",
295314
"when": "isChineseLocale && editorTextFocus && editorHasSelection",

0 commit comments

Comments
 (0)