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

修改 Git 仓库地址

This commit is contained in:
程序员小墨 2024-04-03 10:35:59 +08:00
parent 695bcb830d
commit 73f7ae9113
2 changed files with 31 additions and 11 deletions

View File

@ -2,7 +2,7 @@
// 插件 id 及名称
"name": "variable-conversion",
"displayName": "Variable Conversion",
"description": "",
"description": "A variable naming conversion extension, support camel case, pascal case, kebab(spinal) case, snake case, snake upper case, upper case, lower case, camel snake case, and more. \n一个变量命名方式互相转换的 VSCode 插件,支持小驼峰(驼峰命名)、大驼峰(帕斯卡命名)、连字符(脊柱式命名)、下划线(蛇形命名)、驼峰蛇形命名、下划线大写、全大写、全小写等常用命名方式",
// 版本号
"version": "0.0.1",
"engines": {
@ -14,8 +14,18 @@
// 仓库地址
"repository": {
"type": "git",
"url": "https://github.com/coder-xiaomo/text-conversion-vscode-extension.git"
"url": "https://github.com/coder-xiaomo/variable-conversion-vscode-extension.git"
},
"repositories": [
{
"type": "git",
"url": "https://git.only4.work/coder-xiaomo/variable-conversion-vscode-extension.git"
},
{
"type": "git",
"url": "https://gitee.com/coder-xiaomo/variable-conversion-vscode-extension.git"
}
],
"main": "./out/extension.js",
"activationEvents": [],
"contributes": {
@ -40,6 +50,10 @@
"command": "extension.toSnakeCase",
"title": "下划线 / 蛇形命名 (Snake Case) [ foo_bar ]"
},
{
"command": "extension.toCamelSnakeCase",
"title": "驼峰蛇形命名 (Camel Snake Case) [ Foo_Bar ]"
},
{
"command": "extension.toSnakeUpperCase",
"title": "下划线大写 (Snake Upper Case) [ FOO_BAR ]"
@ -51,10 +65,6 @@
{
"command": "extension.toLowerCase",
"title": "全小写 (Lower Case) [ foobar ]"
},
{
"command": "extension.toCamelSnakeCase",
"title": "驼峰蛇形命名 (Camel Snake Case) [ Foo_Bar ]"
}
// 隐藏命令
// {
@ -130,6 +140,10 @@
"command": "extension.toSnakeCase",
"group": "group-extension"
},
{
"command": "extension.toCamelSnakeCase",
"group": "group-extension"
},
{
"command": "extension.toSnakeUpperCase",
"group": "group-extension"
@ -141,10 +155,6 @@
{
"command": "extension.toLowerCase",
"group": "group-extension"
},
{
"command": "extension.toCamelSnakeCase",
"group": "group-extension"
}
// 隐藏菜单项
// {

View File

@ -11,8 +11,18 @@
],
"repository": {
"type": "git",
"url": "https://github.com/coder-xiaomo/text-conversion-vscode-extension.git"
"url": "https://github.com/coder-xiaomo/variable-conversion-vscode-extension.git"
},
"repositories": [
{
"type": "git",
"url": "https://git.only4.work/coder-xiaomo/variable-conversion-vscode-extension.git"
},
{
"type": "git",
"url": "https://gitee.com/coder-xiaomo/variable-conversion-vscode-extension.git"
}
],
"main": "./out/extension.js",
"activationEvents": [],
"contributes": {