Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TranslationNew to Visual Studio Code? Get it now.
Translation

Translation

hyiker

|
6,915 installs
| (0) | Free
A simple translation plugin(Chinese and English version)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

translation README

VSCode 简洁翻译插件 使用方法: 选中需要翻译的部分 按下 Cmd+Shift+T

Features

  • 可有多种翻译 API 可选
  • 使用有道智云 API 显示发音、词性、词义
  • 使用谷歌翻译 显示词义

Requirements

需要在有道智云注册并获取相应翻译 api 的 appKey(应用 ID)与秘钥 整个过程免费

更新 默认使用谷歌翻译 无需注册等繁琐操作 但是词义、解释等较少

Extension Settings

  • translation.API: 使用的翻译 API 默认为谷歌google 可切换为有道youdao
  • translation.displayMethod: 展示翻译的方式 statusBar表示在状态栏中显示,messageWindow表示在消息窗口中显示
  • translation.hideTimeout: 使用状态栏显示时,显示翻译的持续时间(秒) (只有statusBar模式下方可设置)
  • translation.youdaoAppKey: 有道智云应用 ID
  • translation.youdaoSecretKey: 有道智云应用秘钥

Known Issues

使用messageWindow时无法设置自动消失时间(VSCode 暂不支持)

Release Notes

0.0.1

凑合着用吧...

0.1.0

新增谷歌翻译 API 并默认使用 Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft