Check spelling in the editor
npm install @yank-note/extension-spellcheckerThis extension uses the hunspell-asm and monaco-spellchecker libraries to provide spellchecking capabilities in the editor.
- You can enable or disable spellchecking by menu Tool -> Check Spelling.
- 你可以通过菜单 工具 -> 拼写检查 来启用或禁用拼写检查。
- The default language is English, but you can change it by setting.
- 默认语言是英语,但你可以通过设置来更改。
1. Download the dictionary file .dic and .aff from Web (e.g. https://github.com/wooorm/dictionaries/tree/main/dictionaries)
2. Put the dictionary file to the directory
3. Set the language in the settings.
4. Change the word matching regular expression if necessary.
---
1. 下载 .dic 和 .aff 的字典文件 (例如 https://github.com/wooorm/dictionaries/tree/main/dictionaries)
2. 将字典文件放到 目录下
3. 在设置中设置语言
4. 如有必要,请更改单词匹配正则表达式。
- All dictionary files are placed in the directory.
- ignore.txt: The words in this file will be ignored by the spellchecker.
- user-dic.txt: The words in this file will be added to the dictionary, which can be used for word suggestions.
---
- 所有的字典文件都放置在 目录中。
- ignore.txt: 此文件中的单词将被拼写检查器忽略。
- user-dic.txt: 此文件中的单词将被添加到字典中,可用于单词建议。