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

添加 驼峰蛇形命名

This commit is contained in:
zhangbk1 2024-04-02 17:41:10 +08:00
parent 7edf6f8d13
commit 37c2442505
3 changed files with 17 additions and 1 deletions

2
.gitignore vendored
View File

@ -3,3 +3,5 @@ dist
node_modules
.vscode-test/
*.vsix
*.ignore

View File

@ -44,6 +44,10 @@
"command": "extension.toLowerCase",
"title": "全小写 (Lower Case) [ foobar ]"
},
{
"command": "extension.toCamelSnakeCase",
"title": "驼峰蛇形命名 (Camel Snake Case) [ Foo_Bar ]"
},
{
"command": "editor.action.transformToCamelcase",
"title": "[VSCode 自带] 驼峰式大小写 (Camel Case) [ fooBar ]"

View File

@ -69,4 +69,14 @@ export enum SupportCase {
* @since 2024-04-02
*/
LOWER_CASE,
}
/**
*
* Camel Snake Case
* e.g. Foo_Bar
*
* @alias: camelSnakeCase / CamelSnakeCase / camel_snake_case / CAMEL_SNAKE_CASE
* @since 2024-04-02
*/
CAMEL_SNAKE_CASE,
}