Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Mac OS X dictionary in eclipse

I know you can use Apple + control + D to check a work in cocoa eclipse. Is it possible to use the mac dictionary file for the Eclipse built-in spellchecker ( Spelling )?

Hope their is no english mistakes in this questions hahaha :P

like image 939
Guillaume Massé Avatar asked Nov 09 '10 18:11

Guillaume Massé


1 Answers

That is only available to cocoa based apps, as far as I'm aware Eclipse is written in Java, with a certain amount of "wrapper" going on - so even if you download the "cocoa" version, the editors where you want to use this feature wouldn't be cocoa-components.

Edit: You can find your local dictionary in ~/Library/Spelling/LocalDictionary I'm not sure where the main dictionary is stored. You could try looking in /Library/Spelling perhaps.

Then you can point eclipse at that file, or a copy of it under Preferences -> General -> Editors -> Text Editors -> Spelling and then select User defined dictionary.

I'd be careful using the original one though (if you find it), becuase eclipse just dumps words you add at the end of it, and the OS X one could be sorted (I'm guessing here), also eclipse expects each word to be on a new line, the OS X file might not be in the right format.

like image 88
Goibniu Avatar answered Sep 24 '22 19:09

Goibniu