Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse autocompletion problem

Just installed Eclipse Helios (Win7 64) and I'm having a strange problem. I type syso-Ctrl-Space which is expected to complete to System.out.println("") but it doesn't work! I searched the web for about an hour now, I set Preferences > Java > Editor > Content Assist to defaults, nothing. Everything else seems to work. Ideas?
To be clear: the shortcut works, it completes everything except "syso" as seen so far, on syso (also tried sysout) it says "No Default Proposals". I couldn't find this kind of shortcuts in the Content Assist, but I set them to default anyway.

like image 668
Eugene Marin Avatar asked Mar 18 '11 22:03

Eugene Marin


People also ask

How do I fix Content Assist in Eclipse?

Go to Window -> Preferences -> Editor -> Content Assist -> Advanced and enable Parsing-based Proposals. Click Apply. Content assist should start working immediately. No restart of Eclipse required.

How do I turn on autocomplete in Eclipse?

Step 1: Open your Eclipse or Spring Tool Suite, then go to the Window > Preferences as shown in the below image. Step 2: In the next screen go to the Java > Editor > Content Assist > Auto activation triggers for Java as shown in the below image.

How do I turn off autocomplete in Eclipse?

Open menu Window, then Preferences. Follow path Java -> Editor -> Content assist. Now mess around with the settings to find your ideal setup. I believe what you'll want is to deactivate Insert single proposals automatically.


1 Answers

If you still cant get auto-completion working,try enabling the Template proposals under Content assist menu.This is the exact location,

Windows->Preferences->Java->Editor->Content Assist->Advanced

And make sure you have only one entry for syso(Under Templates menu).

like image 190
PraveenMax Avatar answered Sep 18 '22 20:09

PraveenMax