Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Default Proposals stopped working...
Default Proposals stopped working... [message #243159] Fri, 14 December 2007 19:23 Go to next message
Eclipse UserFriend
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 messageGo to next message
Eclipse UserFriend
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 messageGo to next message
Paul A. Rubin is currently offline Paul A. RubinFriend
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 messageGo to next message
Eclipse UserFriend
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 #243231 is a reply to message #243226] Fri, 14 December 2007 22:51 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
Michael Federici wrote:
> 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?
>
Hi Michael. You might try exporting all of your projects to a zip
archive and then importing them in a new workspace. That would be pretty
quick. Mark
Re: Default Proposals stopped working... [message #243311 is a reply to message #243159] Mon, 17 December 2007 09:40 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
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.

Did you once install Mylyn (AKA Mylar)? If so go to the advanced content
assist preference page and restore to defaults.

Dani

>
> 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 #243348 is a reply to message #243311] Mon, 17 December 2007 14:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Michael.Federici.mckesson.com

No I haven't.
Re: Default Proposals stopped working... [message #243353 is a reply to message #243231] Mon, 17 December 2007 14:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Michael.Federici.mckesson.com

Thanks. I'll try this and see what happens.
Re: Default Proposals stopped working... [message #243403 is a reply to message #243231] Mon, 17 December 2007 17:46 Go to previous message
Eclipse UserFriend
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.
Previous Topic:How PDE knows, which plugin to load?
Next Topic:Replacing Null Values in a Chart
Goto Forum:
  


Current Time: Sun Dec 22 01:01:06 GMT 2024

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

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

Back to the top