cspell
is a command line tool and librray for spell checking code. It supports camel case checking and is really
popular in VSCode, roughly 1,350,000 downloads so far.
As for Emacs, there are many options there but none of them seems working perfectly for me. But I have to say they are powerful tools.Besides wucuo is kind of cool tool as well because it supports camel case as well.
I found this cspell
and it works great in VSCode and I decide to move this to Emacs. A tricky thing is it a plain
checker and doesn’t help to provide correction candidates for you, but flyspell does. So it better just add a
flycheck-checker
rather hack on Flyspell
.
Here is the code:
(with-eval-after-load 'flycheck |
Note: If you feel lagging, you can set
flycheck-idle-change-delay
to 3s or removeidle-change
fromflycheck-check-syntax-automatically
.
Furthurmore, you can customize it with cspell.json