apple, software development

Configuring Eclipse to use OS X’s dictionary

One of the nice things about OS X is that almost all of the programs written for the operating system leverage the built-in dictionary. Once a word is learned, it is forever remembered in all of your other programs. Up until now this has not been true for Eclipse.

Over the weekend, however, I decided to see if I could remedy the situation. As it turns out, the solution is surprisingly simple. OS X (10.6) stores your learned words in $HOME/Library/Spelling/LocalDictionary. This file is simply a line-delimited list of the words that you’ve taught your computer to remember. Here’s mine:

akutz
Apocalyptica
Artifactory
Atlassian's
cmdlet
cmdlets
codegen
crooke
daschunds
datastore
del
deserializers
fubar
Genteal
Gobel
Goldblum
Hmmm
Jira
Jonathon
Kamran
kruse
Kutz
Lissette
McCrory
Nels
Netscaler
omkar
Powershell
Pratchett
regex
Rendevouz
Restlet
Schley
serena
Starbucks
Stauffer
tarball
Teleporter
Texarkana
uninstall
uninstalled
uninstalls
Vaadin
Vangaea
Veeam
viexport
VMworld
ws
Xen
XenServers
Zahid

Eclipse (3.5 – Gallileo) also happens to use a line-delimited file for learned words. All you have to do is tell Eclipse to use OS X’s dictionary file.

  1. To do this simply press Apple-‘ to open up Eclipse’s preferences dialog.
  2. Then search for the keyword dictionary. You will see a screen resembling the following:
    Eclipse Dictionary Preferences
    Eclipse Dictionary Preferences
  3. Finally, set the field User defined dictionary (highlighted in the above image) to the path of your own local dictionary file.

Hope this helps!

Advertisements

4 thoughts on “Configuring Eclipse to use OS X’s dictionary

  1. Hi,
    I have tryed to install SVMotion 1.0.0 on vsphere 4 upd. 1 and got following error message: The plug-in failed to load on server xxx due to the following error: The remote server returned an error: (407) Proxy Authentication Required.

    May you have a hint for me?
    Regards,
    ubill

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s