4 ms·
> Finally, I have been thinking about how to encourage spell checking within code. I think a better solution would be a terminal command (like Standard) where a
by epage 5y ago
> Finally, I have been thinking about how to encourage spell checking within code. I think a better solution would be a terminal command (like Standard) where a user just can run:
Interesting timing since I've been polishing up my source code spell checker in prep for announcing it. I even used the name "typos" because I couldn't find it in use as a CLI.
https://github.com/crate-ci/typos https://github.com/crate-ci/typos
There are also some other code spell checkers out there: https://github.com/crate-ci/typos/blob/master/docs/comparison.md https://github.com/crate-ci/typos/blob/master/docs/compariso...
- stevekemp 5y agoI wrote a hack a while back which just extracted comments from various programming languages, and then I ran them through aspell manually. End result was a minor update to git to fix a couple of typoes: https://blog.steve.fi/i_m_a_bit_of_a_git__hacker__.html https://blog.steve.fi/i_m_a_bit_of_a_git__hacker__.html Even in my own work I know my comments, and inline strings, often contain typos. It would be nice to have a dedicated tool for catching new additions in pull-requests, etc.