Feature request: Add support for spelling checks in the commit subject and description fields
Big thanks to the devs for creating such an awesome app! This has totally become my go-to Git GUI tool.
One little thing though—when I’m quickly committing changes, I sometimes mess up the spelling. It’d be amazing if the commit subject and description fields could highlight spelling errors to save me from those awkward typos.
Thanks a ton!
Some time ago, I built a functional PoC (which I still use) of a spell checker. The problem was that people didn’t like having to download the dictionaries, so the topic was left unresolved. I considered suggesting some kind of plug-in or extension support, but I must admit I couldn’t come up with a concrete proposal. If you’d like to contribute in any way, here’s the PR:
https://github.com/sourcegit-scm/sourcegit/pull/483
The problem was that people didn’t like having to download the dictionaries, so the topic was left unresolved.
As I commented earlier, this can be solved if you utilize system-wide components. On Linux, hunspell dictionaries can be installed system-wide with package manager, so end user don't need to download/update/maintain dictionaries by hand. On Windows and MacOS built-in spellchecker can be used.
That’s exactly where I stopped. It got too complicated to implement it 3 times — the built-in APIs aren’t that intuitive (they rely on COM/WinRT, for example). I thought about doing it like most cross-platform apps do, such as Firefox and LibreOffice — by downloading dictionaries automatically. It would be easier. Personally, I think this approach makes the most sense for a cross-platform project. It’s not even about which solution is better — no matter how willing I am, I simply don’t have the resources to implement this using the built-in APIs. Or maybe this could be done through plugins. But once this topic makes it into the roadmap, I’ll be happy to contribute.
This would be really good, I'm always committing spelling mistakes and my boss makes fun of me :(
Could we get a Harper plugin/integration?
The more I have typos and rely on tools checking it for me, the less confident I became and more rely on these tools. 🙉
I'm new to SourceGit (investigating it to replace Sourcetree) and this is one thing I already miss 😄