如何向 Atom 的 linter-spell 字典添加单词
How to add words to the Atom's linter-spell dictionary
我在 Atom 中使用 linter-spell 包而不是 "by default" spell-check。
在此 中,有人询问如何将单词添加到 拼写检查 词典中。
我的问题是如何将单词添加到 linter-spell 字典中。
根据 linter-spell 的 documentation:
Misspellings can be corrected or added to personal dictionary using the intentions package via ctrl+enter on OSX and alt+enter on Linux and Windows.
版本 1.12
具有此功能。按 cmd+shift 鼠标悬停在 word 和 select add this word
中所述
Spell checking is done upon document save with misspellings displayed by linter. Misspellings can be corrected or added to personal dictionary using the intentions package via ctrl+enter on OSX and alt+enter on Linux and Windows.
您需要做的事情的清晰描述已给出 here。
它的工作方式是提示您 fix linter issue
,单击它后您可以指定一个 JS 函数来执行任何您想要的操作。我还发现 linter-spell 依赖于 Hunspell and GNU Aspel 这意味着您可以将单词添加到系统词典/或它们路径中的任何词典以使其工作。
Hunspell
向 hunspell 字典添加新词。
echo -e "*new_word\n#" | hunspell -a
希望对您有所帮助。
我在 Atom 中使用 linter-spell 包而不是 "by default" spell-check。
在此
我的问题是如何将单词添加到 linter-spell 字典中。
根据 linter-spell 的 documentation:
Misspellings can be corrected or added to personal dictionary using the intentions package via ctrl+enter on OSX and alt+enter on Linux and Windows.
版本 1.12
具有此功能。按 cmd+shift 鼠标悬停在 word 和 select add this word
Spell checking is done upon document save with misspellings displayed by linter. Misspellings can be corrected or added to personal dictionary using the intentions package via ctrl+enter on OSX and alt+enter on Linux and Windows.
您需要做的事情的清晰描述已给出 here。
它的工作方式是提示您 fix linter issue
,单击它后您可以指定一个 JS 函数来执行任何您想要的操作。我还发现 linter-spell 依赖于 Hunspell and GNU Aspel 这意味着您可以将单词添加到系统词典/或它们路径中的任何词典以使其工作。
Hunspell
向 hunspell 字典添加新词。
echo -e "*new_word\n#" | hunspell -a
希望对您有所帮助。