diff --git a/package-comment.jsonc b/package-comment.jsonc index fbaff06..5d2ecea 100644 --- a/package-comment.jsonc +++ b/package-comment.jsonc @@ -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" } // 隐藏菜单项 // { diff --git a/package.json b/package.json index 4c24eb5..41e9064 100644 --- a/package.json +++ b/package.json @@ -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": {