add chinese menu
This commit is contained in:
parent
bf04eb8b75
commit
6cd09cd264
17
package.json
17
package.json
@ -93,7 +93,11 @@
|
|||||||
"commands": [
|
"commands": [
|
||||||
{
|
{
|
||||||
"command": "devchat.triggerCodeComplete",
|
"command": "devchat.triggerCodeComplete",
|
||||||
"title": "Trigger Code Complete"
|
"title": "Trigger Code Completion"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "devchat.triggerCodeCompleteChinese",
|
||||||
|
"title": "触发代码补全"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "devchat.applyDiffResult",
|
"command": "devchat.applyDiffResult",
|
||||||
@ -234,6 +238,10 @@
|
|||||||
"command": "devchat.triggerCodeComplete",
|
"command": "devchat.triggerCodeComplete",
|
||||||
"when": "false"
|
"when": "false"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"command": "devchat.triggerCodeCompleteChinese",
|
||||||
|
"when": "false"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"command": "devchat.askForCode_chinese",
|
"command": "devchat.askForCode_chinese",
|
||||||
"when": "false"
|
"when": "false"
|
||||||
@ -306,7 +314,12 @@
|
|||||||
"editor/context": [
|
"editor/context": [
|
||||||
{
|
{
|
||||||
"command": "devchat.triggerCodeComplete",
|
"command": "devchat.triggerCodeComplete",
|
||||||
"when": "editorTextFocus",
|
"when": "!isChineseLocale && editorTextFocus",
|
||||||
|
"group": "navigation"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "devchat.triggerCodeCompleteChinese",
|
||||||
|
"when": "isChineseLocale && editorTextFocus",
|
||||||
"group": "navigation"
|
"group": "navigation"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user