Coder Social home page Coder Social logo

vscode-extension-translatorx's Introduction

vscode-translatorx

version

  • 支持百度翻译
  • 支持有道翻译(需要注册有道智云,申请appkey和secret)
  • 支持翻译结果快速替换

使用

ctrl + shift + p调用出命令面板,键入translatorX选择开启或关闭插件.

example

example

设置->扩展->TranslatorX可单独开启或关闭有道翻译、百度翻译。如果开启有道翻译,需在设置中配置有道api所需的 appKey 和 secret,获取方式查看https://ai.youdao.com/

当开启有道翻译时,可通过快捷键shift + cmd + R 快速替换翻译结果,替换规则:result[i++ % result.length]

vscode-extension-translatorx's People

Contributors

jtaox avatar dependabot[bot] avatar

Stargazers

水沉舟 avatar otto avatar Roman avatar zhaolei avatar 拉罐 avatar Jamie Chen avatar nyz avatar 2e4x6ah avatar jw avatar yueshuiniao avatar Spring avatar Taylor Boy avatar Threeki avatar LumaCong avatar Kimi Gao avatar Ji Fu avatar  avatar luziyi avatar zhanziyang avatar Python.Swift avatar zhangchen avatar Quarter avatar  avatar  avatar xiaoyulong avatar  avatar  avatar Enix avatar asuna avatar W Han avatar aksoft avatar Joe avatar

Watchers

 avatar Taylor Boy avatar

vscode-extension-translatorx's Issues

功能建议

增加鼠标右键选中文本翻译。而不是开启翻译功能鼠标一移上去就立即翻译。这个跟鼠标移上去默认显示方法定义,变量类型等一起显示有点乱。

新功能建议

1、如果能支持默认启用就好了
2、如果可以增加朗读功能就更好了。有时间我看下作者的源码

不能翻译多行文本

选中多行文本时, 只翻译了第一行:

原文:
// The module 'vscode' contains the VS Code extensibility API // Import the module and reference it with the alias vscode in your code below

结果:
`
'The module 'vscode' contains the VS Code extensibility API // Import the module and reference it with the alias vscode in your code below'翻译结果:

模块“vs code”包含vs代码扩展性API
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.