Default Proposals stopped working... [message #243159] |
Fri, 14 December 2007 14:23  |
Eclipse User |
|
|
|
Originally posted by: Michael.Federici.mckesson.com
I have a problem which I've never had before with Eclipse and I'm
wondering if someone could help me with this. I'm new to the newsgroups so
I'm not sure if this is the proper place to ask, but here goes.
I'm not sure what the technical term is for this functionality, but I
think it is called 'default proposals'. Normally when I use eclipse I am
able to type an object followed by a period and eclipse will suggest all
of the different methods or variables which I might be trying to invoke.
This has stopped happening for me. Now, when I type a period after an
object, eclipse does not suggest anything for me, but gives me a compile
error saying that i have a syntax error on my "." token.
The weird thing here is that I have been using a standard workspace with
all of my projects in it. If I switch to a new blank workspace, eclipse
will make suggestions again. But if I switch back to my old workspace, it
will not. Has anyone ever seen anything like this before? Am I even making
any sense? I am using the web tools version of eclipse:
WebTools:
Build Type Build Name Stream Build Date
Released 2.0.1 R2.0 Wed, 26 Sep 2007 -- 04:27 (UTC)
Eclipse SDK:
Version: 3.3.1
Build id: M20070921-1145
I feel as though the fact that I get proposals in one workspace but not in
another means it must be a workspace configuration thing. Any help or
suggestions would be most appreciated. Thank you very much.
|
|
|
|
Re: Default Proposals stopped working... [message #243216 is a reply to message #243159] |
Fri, 14 December 2007 17:29   |
Eclipse User |
|
|
|
Michael Federici wrote:
> I have a problem which I've never had before with Eclipse and I'm
> wondering if someone could help me with this. I'm new to the newsgroups
> so I'm not sure if this is the proper place to ask, but here goes.
>
> I'm not sure what the technical term is for this functionality, but I
> think it is called 'default proposals'. Normally when I use eclipse I am
> able to type an object followed by a period and eclipse will suggest all
> of the different methods or variables which I might be trying to invoke.
>
> This has stopped happening for me. Now, when I type a period after an
> object, eclipse does not suggest anything for me, but gives me a compile
> error saying that i have a syntax error on my "." token.
> The weird thing here is that I have been using a standard workspace with
> all of my projects in it. If I switch to a new blank workspace, eclipse
> will make suggestions again. But if I switch back to my old workspace,
> it will not. Has anyone ever seen anything like this before? Am I even
> making any sense? I am using the web tools version of eclipse:
>
> WebTools:
> Build Type Build Name Stream Build Date
> Released 2.0.1 R2.0 Wed, 26 Sep 2007 -- 04:27 (UTC)
>
> Eclipse SDK:
> Version: 3.3.1
> Build id: M20070921-1145
>
> I feel as though the fact that I get proposals in one workspace but not
> in another means it must be a workspace configuration thing. Any help or
> suggestions would be most appreciated. Thank you very much.
>
Sometimes something funky in a particular workspace seems to get stuck
in Eclipse's "memory" (or maybe I should say "psyche"). You might try
starting Eclipse with the -clean option and see if that causes it to
sober up and fly straight.
The only other thing I can think of is that I think Eclipse stops making
proposals when it thinks there's a syntax error in the code being worked
on. Have you tried creating a new class in the offending workspace and
adding something harmless to that class? If you get code completion
proposals there, it may be that something is munged in your remaining
class files. If you don't get code completion in the new class, either
Eclipse is fixated on a long-gone code error (see previous paragraph) or
you've got gremlins.
/Paul
|
|
|
|
|
|
|
|
Re: Default Proposals stopped working... [message #243403 is a reply to message #243231] |
Mon, 17 December 2007 12:46  |
Eclipse User |
|
|
|
Originally posted by: Michael.Federici.mckesson.com
That seems to have helped. It must have been something quirky which got
messed up in my workspace? Anyway, its annoying because I have to rebuild
all of my jar libraries and stuff but thanks a lot! I am most greatful.
|
|
|
Powered by
FUDForum. Page generated in 0.13142 seconds