It's all about the answers!

Ask a question

Activating link between spell checker and contents?


Niels Jørgen Strøm (8135) | asked Apr 19 '12, 7:32 a.m.
It seems like eclipse in general is able to activate a link between the spell checker functionality and the contents.

This means that when a word is misspelled (and marked by red in the editor) it is possible to lookup suggestions - just like I can do with the word "lookup" in this text.
I can right click and see different suggestions for what can be wrong.
In this case I can see that it should be two words (lookup -> look up).

How do I enable this functionality in the spell checker in RTC??

One answer



permanent link
Gary Murtagh (111) | answered Sep 06 '13, 8:25 a.m.
edited Sep 06 '13, 8:30 a.m.
This how I got spell checker working In RTC 4.0.3:
1. Download a dictionary file (I sourced this from http://aspell.net)
e.g: ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-7.1-0.tar.bz2
2. Extract the dictionary-library.tar.bz2 file.
e.g: tar -xvf aspell6-en-7.1-0.tar.bz2
3. All dictionary files are compressed with extension .cwl.
Run preunzip language-cwl-file to uncompress to .wl file (flat file)
e.g: preunzip en_GB-variant_0.cwl creates en_GB-variant_0.wl
4. In RTC client, go to Window > Preferences > [type spell] and select Spelling
5. Ensure Enable Spell Checking is checked and in User defined dictionary field browse to dictionary-.wl file
6. Apply, Save and Restart client

Now when a word has a red line under it place cursor in the misspelled word and hit Ctrl+1 for spelling suggestions.

Ref:
Install Spell checker in Eclipse: http://www.javalobby.org/java/forums/t17453.html
Utilize the spell checker in RTC: http://www.samecs.com/how_do_i/Rational%20Team%20Concert/Rational%20Team%20Concert%20how%20do%20I.htm#_Toc243349307

Your answer


Register or to post your answer.