[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: auto-activation problem

"Chung Ley" <chung.ley@xxxxxxx> wrote in message 
news:a704ee16f380869c1674751bdc82b28c$1@xxxxxxxxxxxxxxxxxx
> 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?