https://github.com/ospoon/var-conv
适用于VSCode IDE的代码变量名称快速转换工具
https://github.com/ospoon/var-conv
Last synced: 12 months ago
JSON representation
适用于VSCode IDE的代码变量名称快速转换工具
- Host: GitHub
- URL: https://github.com/ospoon/var-conv
- Owner: OSpoon
- License: apache-2.0
- Created: 2021-10-31T07:03:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-26T10:07:48.000Z (almost 4 years ago)
- Last Synced: 2025-04-19T14:54:50.752Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 1.62 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## Var Conversion
> 一款适用于VSCode IDE的代码变量名称快速转换工具

### 支持转换的类型:
1. 大驼峰写法 (帕斯卡命名法)
2. 小驼峰写法 (驼峰命名法)
3. 蛇形写法 (下划线命名法)
4. 连字符写法 (中划线命名法)
5. 常量名
6. 全小写
7. 全大写
8. 空格 全大写
9. 空格 全小写
10. 空格 大驼峰
11. 空格 小驼峰
### change-log:
* v0.0.5:
1. 增加前5中变量命名转换支持Alt+(1—5)快捷键直接操作,Mac系统为Option+(1—5)。
* v0.0.6:
1. 修复上一版本中Mac系统快捷键失效的问题,已切换为command+option+(1—5)。
* v0.0.7:
1. 增加全小写和全大写命名转换快捷键支持。
### 操作演示:

### 代码参考来源:
1. https://github.com/imdong/Var-Conv/
2. https://github.com/Motivesoft/vscode-uuid-generator/