Skip to content

Yangthemob/qwerty-learner-vscode

This branch is 67 commits behind RealKai42/qwerty-learner-vscode:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

471ad40 · Feb 9, 2023

History

76 Commits
Mar 10, 2021
May 18, 2022
Mar 29, 2021
Feb 9, 2023
Feb 13, 2021
May 23, 2022
Feb 13, 2021
Feb 14, 2021
Feb 13, 2021
Feb 13, 2021
Feb 14, 2021
Feb 9, 2023
Feb 9, 2023
Feb 13, 2021
Feb 14, 2021
Feb 14, 2021
May 17, 2022

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.6%
  • JavaScript 6.4%