1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

支持 Shift + Alt + T 弹出 QuickPick 选择框

This commit is contained in:
zhangbk1
2024-04-03 18:23:56 +08:00
parent 73f7ae9113
commit e7b62379c9
4 changed files with 78 additions and 12 deletions

View File

@@ -24,9 +24,15 @@
}
],
"main": "./out/extension.js",
"activationEvents": [],
"activationEvents": [
"*"
],
"contributes": {
"commands": [
{
"command": "extension.convertCase",
"title": "字符串转换"
},
{
"command": "extension.toCamelCase",
"title": "小驼峰 / 驼峰命名 (Camel Case) [ fooBar ]"
@@ -69,6 +75,11 @@
],
"menus": {
"editor/context": [
{
"when": "editorTextFocus",
"command": "extension.convertCase",
"group": "navigation@9"
},
{
"when": "editorTextFocus && _textSelectionLength >= 1",
"submenu": "extension.stringConversionMenu",