Home
> e-infrastructure, service-is-configuring-learning-tools, service-is-documenting > Getting Eclipse CDT to spell check non-source files
Getting Eclipse CDT to spell check non-source files
- Problem:
- Using Eclipse Luna CDT, with C/C++ spelling engine, to document C and C++ code in Doxygen (Eclox plugin),
- Spell check works for inline Doxygen documentation. My API-level code comments in *.[ch](pp)* files gets spell-checked alright (Well…:
- I had to download a decent dictionary to avoid recommendation like this one:
. I am using the aspell dictionaries from here and here. This is before a restart/recheck:
- I still do not know how to teach the C++ spell check engine that a newline does not start a new sentence:
- The oft-referred to menu: Edit / Spell check does not show up for me:
- I had to download a decent dictionary to avoid recommendation like this one:
- However, spell check ignores my standalone *.dox files with high-level documentation.
- Using Eclipse Luna CDT, with C/C++ spelling engine, to document C and C++ code in Doxygen (Eclox plugin),
- What I have tried:
- Workaround:
- Terrible, but since a similar question is still open on stackoverflow): If you can (*.dox requires all comments to be within c-style comments anyway), rename your *.dox files to *.dox.cpp. Terrible, but works:
- A bit less terrible if you mange to store your standalone *.dox files as *.dox.cpp permanently do this if you get your Doxygen to handle these extensions.
- What is nice to see is that the spell-checker recognizes Doxygen’s built-in reserved words (as opposed to my custom-defined Doxygen-commands).
- Terrible, but since a similar question is still open on stackoverflow): If you can (*.dox requires all comments to be within c-style comments anyway), rename your *.dox files to *.dox.cpp. Terrible, but works:
- Other things to try:
- I could not get Hunspell4Eclipse to work, despite going to considerable trouble getting the marketplace into my Eclipse installation
- I have not tried eSpell.
Comments (0)
Trackbacks (0)
Leave a comment
Trackback