Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » auto-activation problem
auto-activation problem [message #268524] Thu, 12 February 2009 23:57 Go to next message
Chung Ley is currently offline Chung LeyFriend
Messages: 8
Registered: July 2009
Junior Member
Hi,

For some reason, my auto-activation is not working. I am new to Eclipse
and just recently move my projects/application from JBuilder X to Eclipse
environment. These applications are old and uses 1.4.2.

I moved the code to Eclipse 3.4.1 on 2 different PC (work + home)... And
I believed I have similiar default setup in both. But one has the
auto-activation working and the other doesn't. I checked the
"preferences" and the content-assist and auto-activation are both enabled
in both system (which should be since I didn't mess around with the
default settings).

On the PC that the auto-activation didn't work. The code would compiled
successfully... It is just that the auto-activation doesn't work.
Even for some simple things such as:
String abc = "ABC";
abc.
It will not bring up anything after the "."... I tried using the
"Ctrl-<space>", and it will say "No Default Proposals".

What am I doing wrong? can anyone recommend how I should debug/approach
this?

Thanks....
Re: auto-activation problem [message #268525 is a reply to message #268524] Fri, 13 February 2009 07:07 Go to previous messageGo to next message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
"Chung Ley" <chung.ley@amd.com> wrote in message
news:a704ee16f380869c1674751bdc82b28c$1@www.eclipse.org...
> Hi,
>
> For some reason, my auto-activation is not working. I am new to Eclipse
> and just recently move my projects/application from JBuilder X to Eclipse
> environment. These applications are old and uses 1.4.2.
>
> I moved the code to Eclipse 3.4.1 on 2 different PC (work + home)... And
> I believed I have similiar default setup in both. But one has the
> auto-activation working and the other doesn't. I checked the
> "preferences" and the content-assist and auto-activation are both enabled
> in both system (which should be since I didn't mess around with the
> default settings).
>
> On the PC that the auto-activation didn't work. The code would compiled
> successfully... It is just that the auto-activation doesn't work.
> Even for some simple things such as:
> String abc = "ABC";
> abc.
> It will not bring up anything after the "."... I tried using the
> "Ctrl-<space>", and it will say "No Default Proposals".
>
> What am I doing wrong? can anyone recommend how I should debug/approach
> this?


I think the feature you are talking about is also sometimes called "Code
completion", or "code assist" - having additional search terms might help
you.

Are you sure that you actually have JDT (Java development tooling) installed
in both Eclipse versions? That is, did you install the same Eclipse package
on both machines? If you don't have JDT, it's possible that on one of the
machines you're just getting a plain text editor rather than a Java editor.

Is there anything in the error log? Look with a text editor at
[workspace-folder]/.metadata/.log, or use Window -> Show View -> Error Log
to see the log.

If you create a new workspace and create a new Java project within it, does
the problem still happen?
Re: auto-activation problem [message #268529 is a reply to message #268524] Fri, 13 February 2009 08:34 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Chung Ley wrote:
> Hi,
>
> For some reason, my auto-activation is not working. I am new to
> Eclipse and just recently move my projects/application from JBuilder X
> to Eclipse environment. These applications are old and uses 1.4.2.
>
> I moved the code to Eclipse 3.4.1 on 2 different PC (work + home)...
> And I believed I have similiar default setup in both. But one has the
> auto-activation working and the other doesn't. I checked the
> "preferences" and the content-assist and auto-activation are both
> enabled in both system (which should be since I didn't mess around
> with the default settings).
>
> On the PC that the auto-activation didn't work. The code would
> compiled successfully... It is just that the auto-activation doesn't
> work.
> Even for some simple things such as:
> String abc = "ABC";
> abc.
> It will not bring up anything after the "."... I tried using the
> "Ctrl-<space>", and it will say "No Default Proposals".
>
> What am I doing wrong?
Nothing. Most likely a conflict caused by Mylyn. Go to the Java > Editor
> Content Assist > Advanced preference page, click 'Restore Default'
and then 'OK'. This should do the trick.

Dani
> can anyone recommend how I should debug/approach this?
>
> Thanks....
>
>
Re: auto-activation problem [message #268556 is a reply to message #268529] Fri, 13 February 2009 19:10 Go to previous messageGo to next message
Chung Ley is currently offline Chung LeyFriend
Messages: 8
Registered: July 2009
Junior Member
Dani... You are a life saver! Thanks...

I did what you said, and I have my auto-activation/context-help back...

Thanks for both of you for the help/comment...

--Chung
Re: auto-activation problem [message #268559 is a reply to message #268529] Fri, 13 February 2009 19:17 Go to previous message
Chung Ley is currently offline Chung LeyFriend
Messages: 8
Registered: July 2009
Junior Member
Actually...

In the heat of excitement, I forgot to ask if there are any place that I
can sort of look up issues in terms of putting different plug-ins
together...

I am sorry to say that I am one of those little kid in the candy store and
after I downloaded the recommended package of Eclipse, I sort of just run
the updates and click on anythings that looks good:)

For instance, I got into trouble early on where the "subversive" plug-in
didn't work for me for some reason when trying to work with our subversion
environment, and I had to use the "subclipse". I still don't know why,
since I still haven't had a chance (or time:) to research on that yet.

--Chung
Previous Topic:Perspectives,Views,PerspectiveExtensions
Next Topic:Stopping perspective cahnge
Goto Forum:
  


Current Time: Fri Apr 26 10:07:01 GMT 2024

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

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

Back to the top