add chinese menu

This commit is contained in:
bobo.yang 2024-10-30 19:40:44 +08:00
parent bf04eb8b75
commit 6cd09cd264

View File

@ -93,7 +93,11 @@
"commands": [
{
"command": "devchat.triggerCodeComplete",
"title": "Trigger Code Complete"
"title": "Trigger Code Completion"
},
{
"command": "devchat.triggerCodeCompleteChinese",
"title": "触发代码补全"
},
{
"command": "devchat.applyDiffResult",
@ -234,6 +238,10 @@
"command": "devchat.triggerCodeComplete",
"when": "false"
},
{
"command": "devchat.triggerCodeCompleteChinese",
"when": "false"
},
{
"command": "devchat.askForCode_chinese",
"when": "false"
@ -306,7 +314,12 @@
"editor/context": [
{
"command": "devchat.triggerCodeComplete",
"when": "editorTextFocus",
"when": "!isChineseLocale && editorTextFocus",
"group": "navigation"
},
{
"command": "devchat.triggerCodeCompleteChinese",
"when": "isChineseLocale && editorTextFocus",
"group": "navigation"
},
{