Giter VIP home page Giter VIP logo

qwerty-learner-vscode's Introduction

Qwerty Learner VSCode

为键盘工作者设计的单词记忆与英语肌肉记忆锻炼软件 VSCode 摸🐟版

License

💡 演示

📸 安装

VSCode Plugin Market


本项目为 Qwerty Learner 的 VSCode 插件版本,访问原始项目获得更好的体验。

(注:依赖 VSCode 最低版本为 1.53.0,如提示 it is not compatible with the current version of VS Code 请升级 VSCode 版本)

✨ 实现原理

因为 VSC 没有提供对 Keypress 的回调,所以实现上使用了较为取巧的方式,监听用户当前输入文档的改变,然后删除用户输入。 用户可以在任意代码、文档页面开启软件进行英语打字练习,插件会自动删除用户输入的文字,不会对文档内容造成影响。

目前存在的 Bug,在用户输入速度较快(特别是同时按下多个键)时,可能会导致删除不完全,用户自行删除输入即可。目前处于项目初期,可能会频繁更新,还望见谅,

🎛 使用说明

一键启动

Mac Control + Shift + Q

Win Shift + Alt + Q

可以在任意文档中使用快捷键启动,启动后插件将屏蔽用户对文档的输入,只需关注状态栏上的单词即可。

⚠️ 切记需关闭中文输入法,目前插件在开启中文输入法会有 Bug,待修复

章节、词典选择

打开 VSCode 命令面板,通过 “Qwerty” 前缀过滤,即可发现插件内置的命令。

  • Change Chapter 可以切换章节
  • Change Dictionary 可以切换字典
  • Start/Pause 可以开关插件,功能等价于一键启动快捷键
  • Open Read Only Mode 开启只读模式
  • Close Read Only Mode 关闭只读模式

命令面板快捷键
Mac: cmd + shift + p
Win: ctrl + shift + p

进阶配置

可以在设置面板查找关键字 “Qwerty” 修改设置

"qwerty-learner.highlightWrongColor": {
  "type": "string",
  "default": "#EE3D11",
  "description": "输入错误时单词的颜色"
},
"qwerty-learner.highlightWrongDelay": {
  "type": "number",
  "default": 400,
  "description": "输入错误时清空输入的延迟时间"
},
"qwerty-learner.keySound": {
  "type": "boolean",
  "default": true,
  "description": "是否开启键盘音"
},
"qwerty-learner.phonetic": {
  "type": "string",
  "enum": [
    "us",
    "uk",
    "close"
  ],
  "default": "close",
  "description": "是否开启音标"
},
"qwerty-learner.chapterLength": {
  "type": "integer",
  "default": 20,
  "minimum": 1,
  "maximum": 100,
  "description": "每个章节包含的单词数量"
},
"qwerty-learner.reWrite": {
  "type": "boolean",
  "default": false,
  "description": "是否开启罚抄模式"
},
"qwerty-learner.readOnlyInterval": {
  "type": "number",
  "default": 5000,
  "description": "只读模式中单词切换间隔时间(ms)"
},
"qwerty-learner.voiceType": {
  "type": "string",
  "enum": [
    "us",
    "uk",
    "close"
  ],
  "default": "us",
  "description": "是否开启发音"
},

📕 词库列表

  • CET-4
  • CET-6
  • GMAT
  • GRE
  • IELTS
  • 考研
  • 专四
  • 专八
  • 高考 3500 词
  • SAT
  • TOEFL
  • 商务英语
  • BEC
  • Coder Dict
  • JS: Array
  • JS: Date
  • JS: Global
  • JS: Map & Set
  • JS: Math
  • JS: Number
  • JS: Object
  • JS: Promise
  • JS: String
  • Python: Built-in
  • Python: array
  • Python: date
  • Python: file
  • Python: class
  • Python: set
  • Python: math
  • Python: string
  • Python: system
  • Java: ArrayList
  • Java: Character
  • Java: Hashmap
  • Java: LinkedList
  • Java: String
  • Java: StringBuffer
  • Linux
  • C#: List API
  • 新概念英语-1
  • 新概念英语-2
  • 新概念英语-3
  • 新概念英语-4
  • SAT en-en
  • Essential Words
  • Essential Words
  • suffix word
  • word roots1

qwerty-learner-vscode's People

Contributors

realkai42 avatar dianjie avatar aimkiray avatar aooiuu avatar dependabot[bot] avatar lslab 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.