Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Translate AllinoneNew to Visual Studio Code? Get it now.
Translate Allinone

Translate Allinone

zzailianlian

|
220 installs
| (0) | Free
翻译vscode插件,集合划线翻译,中文转英文小驼峰命名,中文替换等功能
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

translate-allinone README

功能

  • 划线翻译,多个语种
  • 中文转英文小驼峰命名
  • 翻译中文并覆盖当前选中文案
  • 更多功能待拓展

涉及到命令

目前只有以下三种

命令

用法

划词翻译

  1. 选中内容(语种不限,如果是其他语种,默认翻译为中文)
  2. 键入shift + command + p调出vscode命令看板
  3. 选择translateSelection即可看到翻译弹窗,具体如下: translateSelection翻译弹窗

中文转英文小驼峰命名

  1. 选中内容
  2. 键入shift + command + p调出vscode命令看板
  3. 选择translateToCamelCase即可自动把划线内容转成小驼峰命名

翻译中文并覆盖当前选中文案

针对场景:主要用于源码查看时的注释翻译

  1. 选中内容
  2. 键入shift + command + p调出vscode命令看板
  3. 选择translateAndReplaceSelection即可自动把划线内容转成中文
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft