English to Chinese Translator for VS Code
一个简单高效的 VS Code 英文翻译扩展,支持悬停翻译和选中翻译功能。
✨ 主要功能
- 🔍 悬停翻译:将鼠标悬停在英文单词上即可查看中文翻译
- ✨ 选中翻译:选中任意英文文本,右键选择"翻译选中的文本"或使用快捷键进行翻译
- 🎯 快捷键支持:使用
Cmd+Shift+T (macOS)或 Ctrl+Shift+T (Windows/Linux)快速翻译选中的文本
- 🌈 优雅的界面:翻译结果以优雅的方式显示,支持暗色和亮色主题
📋 使用方法
悬停翻译
- 将鼠标悬停在任何英文单词上
- 片刻后将显示对应的中文翻译
选中翻译
- 选择任意英文文本(单词、短语或句子)
- 使用以下任一方式触发翻译:
- 右键单击,选择"翻译选中的文本"
- 使用快捷键:
Cmd+Shift+T (macOS)或 Ctrl+Shift+T (Windows/Linux)
🔧 支持的文件类型
- 纯文本 (.txt)
- Markdown (.md)
- JavaScript (.js)
- TypeScript (.ts)
- Python (.py)
- HTML (.html)
- CSS (.css)
⚙️ 系统要求
🐛 已知问题
- 翻译速度可能受网络状况影响
- 极少数专业术语可能翻译不准确
🔜 未来计划
- 支持更多编程语言
- 增加自定义翻译 API 选项
- 添加翻译历史记录功能
🙏 反馈与贡献
如果您有任何问题、建议或想要贡献代码,请访问我们的 GitHub 仓库。
Release Notes
Users appreciate release notes as you update your extension.
1.0.0
Initial release of ...
1.0.1
Fixed issue #.
1.1.0
Added features X, Y, and Z.
Following extension guidelines
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
Working with Markdown
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
- Split the editor (
Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
- Toggle preview (
Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
- Press
Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.
Enjoy!
| |