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

Bug 173767

Summary: [content assist] no template proposals if no whitespace in front
Product: [Eclipse Project] JDT Reporter: Missing name Mising name <wuntoy>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: 3.3   
Target Milestone: 3.3 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Missing name Mising name CLA 2007-02-10 22:01:53 EST
3.3M5 I20070209-1006

Some examples I've spotted of when content assist offers too few suggestions.  In the following | represents the cursor at the point when Ctrl-Alt-SHIFT is pressed.

Main template not proposed:
  public class Two{m|}
(works if a space is inserted before 'm')

Sysout template not proposed:
  public class Two{void m(){int a=1;syso|}}
(works if a space is inserted before 'syso')

No proposals:
  public class Two{void m(){|}}
  public class Two{String s="s";void m(){|}}
(works in both cases if a space is inserted before the cursor)
Comment 1 Dani Megert CLA 2007-02-12 03:55:25 EST
Fixed in HEAD.
Available in builds > N20070212-0010.
Comment 2 Missing name Mising name CLA 2007-02-12 14:32:40 EST
Thanks - that was quick!