https://github.com/ospoon/var-conv-next
适用于 VSCode 的代码变量命名快速转换插件
https://github.com/ospoon/var-conv-next
Last synced: 7 months ago
JSON representation
适用于 VSCode 的代码变量命名快速转换插件
- Host: GitHub
- URL: https://github.com/ospoon/var-conv-next
- Owner: OSpoon
- License: mit
- Created: 2024-08-12T02:15:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-15T03:54:29.000Z (almost 2 years ago)
- Last Synced: 2024-12-28T06:09:26.199Z (over 1 year ago)
- Language: TypeScript
- Size: 222 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# var-conv-next
适用于 VSCode 的代码变量命名快速转换插件
## Features
1. 支持右键菜单切换变量命名风格
2. 支持快捷键方式切换变量命名风格
3. 支持输入时变量命名风格提示
4. 支持基于 SiliconCloud 变量命名风格转换 (实验, 目前极其不稳定)
## Usage
1. 右键选择 `变量命名转换(Next)` 切换命名风格
2. 快捷键换命名风格
| case | win | mac | example |
| --- | --- | --- | --- |
| camel | alt+1 | alt+cmd+1 | helloWorld |
| pascal | alt+2 | alt+cmd+2 | HelloWorld |
| kebab | alt+3 | alt+cmd+3 | hello-world |
| snake | alt+4 | alt+cmd+4 | hello_world |
| constant | alt+5 | alt+cmd+5 | HELLO_WORLD |
3. 输入时提示

## License
[MIT](./LICENSE) License © 2023 [OSpoon](https://github.com/ospoon)