Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 475299

Summary: [content assist] Typing "syso" to Auto Insert & Autocomplete
Product: [Eclipse Project] JDT Reporter: Jeffrey CA <jcjeff2013>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 4.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Autocomplete Window none

Description Jeffrey CA CLA 2015-08-18 16:21:00 EDT
Created attachment 255935 [details]
Autocomplete Window

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. Picture: http://i.stack.imgur.com/ywdju.png

Is there a way to fix this behaviour to what it was like in Eclipse Luna?
Comment 1 Dani Megert CLA 2015-08-19 06:00:05 EDT
I assume you complain that the template isn't automatically inserted. This happens because there are other matches.

I further assume that those other matches come from Code Recommenders which you probably hadn't installed in Luna.

Please reopen if my assumptions were wrong.
Comment 2 Jeffrey CA CLA 2015-08-19 15:43:01 EDT
Yes, that was the culprit! Thanks