Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How do you make the user dictionary work?
How do you make the user dictionary work? [message #264224] Sat, 13 September 2008 01:51 Go to next message
Adam Nielsen is currently offline Adam NielsenFriend
Messages: 15
Registered: July 2009
Junior Member
Hi all,

I've just upgraded to Eclipse 3.4 and thought I'd give spell checking a
go. As quite a few words are missing from the dictionary, I'd like to
set up a user dictionary so I can add these words in.

I've got a user-defined dictionary listed under Preferences | General |
Editors | Text Editors | Spelling, and this file exists (with one word
in it I added manually.)

Whenever I press Ctrl+1 on a misspelled word and choose Add to
dictionary a message pops up saying "A user dictionary is needed to add
words. Do you want to configure it now?" If I click yes it opens the
window above with my user dictionary already entered in.

I'm not sure if this makes a difference, but if I click "Browse" to
choose a different filename for the dictionary, the browse window opens
up with no folder selected - the list of files is just blank. I have to
manually choose a directory to start browsing from.

The filename is an absolute path: "/home/user/.eclipse/userdict"

Any ideas?

Thanks,
Adam.
Re: How do you make the user dictionary work? [message #264281 is a reply to message #264224] Mon, 15 September 2008 09:48 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Adam Nielsen wrote:
> Hi all,
>
> I've just upgraded to Eclipse 3.4 and thought I'd give spell checking
> a go. As quite a few words are missing from the dictionary, I'd like
> to set up a user dictionary so I can add these words in.
>
> I've got a user-defined dictionary listed under Preferences | General
> | Editors | Text Editors | Spelling, and this file exists (with one
> word in it I added manually.)
>
> Whenever I press Ctrl+1 on a misspelled word and choose Add to
> dictionary a message pops up saying "A user dictionary is needed to
> add words. Do you want to configure it now?" If I click yes it opens
> the window above with my user dictionary already entered in.
This sounds like a bug. Is there anything in the .log?

Dani
>
> I'm not sure if this makes a difference, but if I click "Browse" to
> choose a different filename for the dictionary, the browse window
> opens up with no folder selected - the list of files is just blank. I
> have to manually choose a directory to start browsing from.
>
> The filename is an absolute path: "/home/user/.eclipse/userdict"
>
> Any ideas?
>
> Thanks,
> Adam.
Re: How do you make the user dictionary work? [message #264295 is a reply to message #264281] Mon, 15 September 2008 10:52 Go to previous messageGo to next message
Adam Nielsen is currently offline Adam NielsenFriend
Messages: 15
Registered: July 2009
Junior Member
>> Whenever I press Ctrl+1 on a misspelled word and choose Add to
>> dictionary a message pops up saying "A user dictionary is needed to
>> add words. Do you want to configure it now?" If I click yes it opens
>> the window above with my user dictionary already entered in.

> This sounds like a bug. Is there anything in the .log?

Can't find any .log files, strangely enough. I have discovered that it
only seems to affect CDT though - I can't add words to the userdict from
within a .cpp file, but I can from within plain text files.

Maybe it's a bug in CDT? Is anyone else able to try it just in case
it's only my setup?

Thanks,
Adam.
Re: How do you make the user dictionary work? [message #264321 is a reply to message #264295] Mon, 15 September 2008 16:44 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Adam Nielsen wrote:
>>> Whenever I press Ctrl+1 on a misspelled word and choose Add to
>>> dictionary a message pops up saying "A user dictionary is needed to
>>> add words. Do you want to configure it now?" If I click yes it
>>> opens the window above with my user dictionary already entered in.
>
>> This sounds like a bug. Is there anything in the .log?
>
> Can't find any .log files, strangely enough. I have discovered that
> it only seems to affect CDT though - I can't add words to the userdict
> from within a .cpp file, but I can from within plain text files.
>
> Maybe it's a bug in CDT?
Looks like that since it also works in JDT for me.

Dani
> Is anyone else able to try it just in case it's only my setup?
>
> Thanks,
> Adam.
Re: How do you make the user dictionary work? [message #271802 is a reply to message #264295] Mon, 29 June 2009 01:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

Adam Nielsen schrieb:
>>> Whenever I press Ctrl+1 on a misspelled word and choose Add to
>>> dictionary a message pops up saying "A user dictionary is needed to
>>> add words. Do you want to configure it now?" If I click yes it
>>> opens the window above with my user dictionary already entered in.
>
>> This sounds like a bug. Is there anything in the .log?
>
> Can't find any .log files, strangely enough. I have discovered that it
> only seems to affect CDT though - I can't add words to the userdict from
> within a .cpp file, but I can from within plain text files.
>
> Maybe it's a bug in CDT? Is anyone else able to try it just in case
> it's only my setup?
>
> Thanks,
> Adam.
Oh still no answer to it? I got the same problem.
Fix: There are different settings for each spelling engine you can set.
Just select c/c++ engine and put localdictionaryC.txt in the
User_defined dictionary. Then select the default spelling engine and
choose another file, lets say localdictionaryDefault.txt. This worked
for me and i can use the context <+Add 'word' to dictionary> function.
Of cause you can choose the same file for different engines.

Hope this helps to find that "hidden" setting.

Greets, Jed.
Re: How do you make the user dictionary work? [message #1388055 is a reply to message #271802] Thu, 26 June 2014 00:35 Go to previous message
Paul Adamson is currently offline Paul AdamsonFriend
Messages: 3
Registered: December 2013
Junior Member
Thanks, Jed. This worked for me. Very Happy
Previous Topic:random_device cannot resolved
Next Topic:How to setup which resources to include in searches
Goto Forum:
  


Current Time: Wed Apr 24 16:58:16 GMT 2024

Powered by FUDForum. Page generated in 0.08779 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top