[Qt-creator] Spell checking in comments on Qt Creator

eike.ziller at nokia.com eike.ziller at nokia.com
Wed Mar 9 09:17:02 CET 2011


On Mar 8, 2011, at 6:14 PM, ext Kasun Hewage wrote:

> Hi all,
> 
> I appreciate it very much if you could tell me a way to enable English
> spell checking on the Qt Creator. I found the following link while I
> was searching for such plugin.

I don't know of any.

> http://gitorious.org/+qt-developers/qt/qspellchecker

That repository is research into a spell checker Qt class.
When/if it was ready it would be possible to use it from Qt Creator code, to implement some sort of spell checking. Mind that spell checking comments has it's own challenges, first of all it needs to actually restrict spell checking to comments (possible but might be more than one line of code), and then cope with special comment syntax (doxygen/qdoc tags etc) either by doing something intelligent or by letting the user add the words to ignore manually.

With the external tools feature in the upcoming 2.2 release you can probably also pipe either selected text or a file through a external spell checker of your choice (e.g. aspell), no idea how well that would cope with comments embedded in code though.

Br, Eike

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori






More information about the Qt-creator-old mailing list