Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install a platform dictionary in Eclipse

For spell checking purpose I would like to install an addictional "platform dictionary" in my Eclipse IDE.

You can see the list of platform dictionaries installed in Window > Preferences > General > Editors > Text Editors > Spelling, in the field "Platform dictionary". In my Helios Service Release 1 there are only english of UK or USA. I would to put the language of my country, so I can write comments in my language and have spell check. Eclipse help doesn't explain how.

like image 502
bluish Avatar asked Dec 07 '10 07:12

bluish


2 Answers

If you can't find your language word list you can generate one using aspell.

aspell --lang=pl dump master | aspell --lang=pl expand | tr ' ' '\n' > pl.dict 

In Ubuntu aspell generates list in UTF-8 in other systems you can add encoding option.

--encoding=utf-8 
like image 180
Konrad Nowicki Avatar answered Sep 28 '22 07:09

Konrad Nowicki


I am not sure you can add a "Platform dictionary", so that leaves you with a "user defined" one:

alt text

Eclipse supports a standard one-word-per-line format for the 'dictionary' file.
You can have several of those at Kevin's Word List on Sourceforge.net, including links to other sites.

like image 22
VonC Avatar answered Sep 28 '22 09:09

VonC