Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse spell checker - How do I remove a word I added?

I accidentally added a word I'm forever mis-spelling into Eclipse's spell-checker dictionary. How do I get it back out again?

like image 706
izb Avatar asked Sep 01 '09 13:09

izb


People also ask

How do I add words to my dictionary in eclipse?

If I highlight a word highlighted for misspelling, double-click (or highlight with the keyboard), and then hit CTRL+1 I can see the option to add the word to the dictionary. In various editors (like WikiText), this is the only way I've seen to add a word to the dictionary on the fly.

How do you do spell check in eclipse?

Eclipse has a built-in Spell Checker. Go to Window > Preferences > General > Editors > Text Editors > Spelling to enable it.

How do I turn off spell check in eclipse?

I can turn off the spelling checker with Window, Preferences, General, Editors, Text Editors and uncheck Enable Spell checking.


2 Answers

Eclipse puts the words you add into a text file, AKA the User defined dictionary.

You can find the location of this file at Window -> Preferences -> General -> Editors -> Text Editors -> Spelling -> User defined dictionary.

I believe that it's not set up by default - the first time you use the Add to dictionary feature it asks for the user dictionary location.

Open up the file in a text editor and remove the word you don't want. You'll probably need to restart Eclipse before it recognises the word as misspelled again (i.e. before it will re-read the user dictionary file).

like image 173
Tom Clift Avatar answered Oct 15 '22 16:10

Tom Clift


As mentioned in bug 51445, the user defined dictionary is any text file, by default with a '.dic' extension (but you can use any or no extension if you like).

The help page help you to locate that file.

alt text http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.user/images/ref-spellingpref.png

As mentioned in bug 111265 (comment 2), you need to relaunch eclipse...

like image 44
VonC Avatar answered Oct 15 '22 16:10

VonC