添加 驼峰蛇形命名
This commit is contained in:
parent
7edf6f8d13
commit
37c2442505
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,3 +3,5 @@ dist
|
|||||||
node_modules
|
node_modules
|
||||||
.vscode-test/
|
.vscode-test/
|
||||||
*.vsix
|
*.vsix
|
||||||
|
|
||||||
|
*.ignore
|
@ -44,6 +44,10 @@
|
|||||||
"command": "extension.toLowerCase",
|
"command": "extension.toLowerCase",
|
||||||
"title": "全小写 (Lower Case) [ foobar ]"
|
"title": "全小写 (Lower Case) [ foobar ]"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"command": "extension.toCamelSnakeCase",
|
||||||
|
"title": "驼峰蛇形命名 (Camel Snake Case) [ Foo_Bar ]"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"command": "editor.action.transformToCamelcase",
|
"command": "editor.action.transformToCamelcase",
|
||||||
"title": "[VSCode 自带] 驼峰式大小写 (Camel Case) [ fooBar ]"
|
"title": "[VSCode 自带] 驼峰式大小写 (Camel Case) [ fooBar ]"
|
||||||
|
@ -69,4 +69,14 @@ export enum SupportCase {
|
|||||||
* @since 2024-04-02
|
* @since 2024-04-02
|
||||||
*/
|
*/
|
||||||
LOWER_CASE,
|
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,
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user