Git Product home page Git Product logo

recitewords's Introduction

ReciteWords

是一个Android Studio 记单词翻译插件,可以将英文翻译为中文并记录到生词本提供查阅。

功能

  • 划词翻译
  • 生词本保存翻译过后的历史记录

使用方法

  • Clone项目,获取根目录下的ReciteWords.jar。

  • 打开Android Studio, Preferences -> Plugins -> Install plugin from disk -> 获取ReciteWords.jar安装并重启Android Studio。

  • 选中代码,按下 Ctrl + Alt+Q(也可以自己设定)。即可翻译。效果如下:

  • 你所翻译的单词会被记录在你当前用户目录下的ReciteWords.md文件中(如:C:\Users\Bolex\ReciteWords.md)。可以通过Markdown编辑器打开它进行学习。效果如下:

修改快捷键

使用键盘快捷键触发

  • Preferences -> Keymap -> 获取ReciteWords - > 右键 add Keyboard Shortcut. 输入你想要的快捷键即可。

版本

  • 0.1 发布第一个版本 包含 划词翻译 和历史翻译记录成md文件
  • 0.2 修复因为在androidStudio2.3版本中禁止了包名为空所抛出的异常。 感谢简书钟子明同学的测试!
  • 1.1 修复因为没有权限写入导致翻译时抛出权限不足的异常。

Q

  • MAC和Linux平台由于没有写入权限暂时不能保存MD文件。 如果有大大知道java写入权限的问题 发个issues或者pull requsts过来。

Thanks

  • 有道翻译
  • ECTranslation
  • 该插件是基于ECTranslation扩展的。在原有的基础上添加单词保存的功能,方便后续将陌生单词记录下来学习。

recitewords's People

Contributors

bolexliu avatar

Stargazers

 avatar

Watchers

 avatar  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.