Reputation: 47
In Eclipse Luna, I would be able to type syso
followed by Ctrl+Space, and it would autocomplete as System.out.println();
, even though the actual template in Eclipse Preferences was listed as sysout
. I was able to type part of the sysout
and still have it autocomplete.
In Eclipse Mars, I no longer can do that for some reason. If I type syso
followed by Ctrl + Space, I get a autocomplete window which prompts me to select a statement from the following.
Is there a way to fix this behaviour to what it was like in Eclipse Luna?
Upvotes: 3
Views: 639
Reputation: 2781
I had the same experience and it was pretty annoying. But it was resolved by changing the preferences and adding more characters to "Auto activation triggers for Java".
To do so, please follow these steps:
The good thing about it is that you just need to press "Enter" after typing "syso" without pressing Ctrl+Space.
Reference: Java Content Assist Preferences
Upvotes: 2