qwerty-learner-vscode
qwerty-learner-vscode copied to clipboard
add readOnlyMode
增加了只读模式,有时背单词,不需要打字,只读即可。增加2个配置项。在插件启动时判断是否只读模式,如果是只读模式,则根据只读的间隔来刷新单词,不再判断文档是否更新。
🤔 我觉得 开/关只读模式应该作为一个 command
存在,而不是作为一个 configuration
.
在学习的过程中使用 command 随时进行切换更加容易
我基于此对 pr 做了一些修改,有时间可以 review 一下,看是否有我可能遗漏的 corner case