Search code examples
c++clinuxspell-checking

Spell checker for comments, strings, maybe more


I am looking for a spell checker for c++ source code. Unfortunately all I can find is Visual Studio specific. I would like something which works on Linux.

Edit:

Ultimately I want to automate it in some way. I am not very proficient in spell checking, but what I am thinking of is a not-interactive console tool which prints error messages, or something like that.

Personally I use vim, but not everyone on the project does of course.

Currently we are using svn so it is possible to integrate it into the pre-commit-hook maybe? Don't you guys do something similar?


Solution

  • I found something!

    svn co svn://anonsvn.kde.org/home/kde/trunk/quality/krazy2 krazy2
    

    this is part of the quality management of KDE. Besides a multitude of checks (KDE-specific, qt-specific, cpp-specific, ...) there is automated spell checking.

    hope this helps