Code Monkey home page Code Monkey logo

mytranslate's Introduction

myTranslate

996.icu
一款基于eclipse的插件,用于翻译。 有时候在看源码时会碰到一些生疏的单词,需要借助翻译软件来查看,但是复制来复制去比较麻烦,所以开发了这款插件,可以直接用快捷键在eclipse上翻译。

一、下载插件

下载地址:https://github.com/Julyme/myTranslate 可以下载源码自己导出或者直接下载jar包。

下载jar包后放到eclipse/plugins文件夹里,重启eclipse。

二、配置首页项

打开windows->prefrences->myTranslate prefrences。

请选择翻译平台和填写改平台的id和key,如果选择全部,请全部填写key和id。

百度翻译API接口注册链接http://api.fanyi.baidu.com/api/trans/product/index

有道翻译API接口注册链接http://fanyi.youdao.com/openapi?path=data-mode

(PS:以上API接口都是免费申请的)

三、打开翻译窗口

在windows->show view ->other 里找到myTranslate view.点击OK

四、使用快捷键

1、选取要翻译的英文,按Ctrl+C。

2、点击myTranslate view的空白处(获取焦点才能触发快捷键),按Ctrl+Shift+C。

翻译结果会显示在myTranslate view里面

PS:目前支持有道翻译、百度翻译,后续会支持google翻译、英文语音等功能。

更多详细情况请访问http://www.julyme.com/20170518/87.html

mytranslate's People

Contributors

julyme avatar

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.