Default Proposals stopped working... [message #243159] |
Fri, 14 December 2007 19:23 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 #243164 is a reply to message #243159] |
Fri, 14 December 2007 19:30 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: Michael.Federici.mckesson.com
By the way, my settings under 'Preferences/Java/Editor/Content Assist' are
as follows:
*Complete inserts
*Insert single proposals automatically
*Add import instead of qualified name
*Use static imports
*Fill argument names on completion
*Sort proposals: relevance
*Hide proposals not visible in the invocation context
*Show camel case matches
*Hide forbidden references
*Enable auto activation
*Auto Activation Delay: 200
*Auto Activation triggers for Java: .
*Auto Activation triggers for Javadoc: @#
Thanks again for any thoughts.
|
|
|
Re: Default Proposals stopped working... [message #243216 is a reply to message #243159] |
Fri, 14 December 2007 22:29 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Paul A. Rubin![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=rubin%40msu.edu) Messages: 188 Registered: July 2009 |
Senior Member |
|
|
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 #243226 is a reply to message #243216] |
Fri, 14 December 2007 22:49 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: Michael.Federici.mckesson.com
Thank you for the reply paul. Yes I tried making a new project with a new
empty class in the offending workspace and the proposals still would not
come. I am sure there were no errors of any kind in the project or the
empty class (because it was of course empty :) haha).
I tried running C:\eclipse\eclipse.exe -clean as you suggested, but it did
not help. I guess if no one else can come up with other suggestions, I'll
have to try making a new workspace and putting my projects together again
in the new workspace?
|
|
|
|
|
|
|
Re: Default Proposals stopped working... [message #243403 is a reply to message #243231] |
Mon, 17 December 2007 17:46 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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.06546 seconds