Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>文本格式转换器New to Visual Studio Code? Get it now.
文本格式转换器

文本格式转换器

guodegang-dev

|
2 installs
| (0) | Free
将选中文本在驼峰、蛇形、大写、小写等格式间转换
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

文本格式转换器

一个简单的 VSCode 插件,用于将选中文本在不同格式间转换。

功能

  • 驼峰格式 (camelCase): helloWorld
  • 帕斯卡格式 (PascalCase): HelloWorld
  • 蛇形格式 (snake_case): hello_world
  • 短横线格式 (kebab-case): hello-world
  • 大写 (UPPERCASE): HELLO WORLD
  • 小写 (lowercase): hello world

使用方法

  1. 在编辑器中选择要转换的文本
  2. 右键打开上下文菜单
  3. 选择"文本格式转换"子菜单
  4. 选择想要的转换格式

或者使用命令面板 (Ctrl+Shift+P),搜索"转换"相关命令。

开发

安装依赖

npm install

编译

npm run compile

调试

按 F5 启动调试模式,会打开一个新的 VSCode 窗口来测试插件。

版本历史

0.0.1

  • 初始版本
  • 支持 6 种文本格式转换
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft