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

Bug 338098

Summary: Feature Request (Templates): Completion on simple type with variable name
Product: z_Archived Reporter: Johannes Lerch <lerch>
Component: RecommendersAssignee: Marcel Bruch <marcel.bruch>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Johannes Lerch CLA 2011-02-24 10:08:56 EST
In test case CompletionOnSimpleTypeNameWithVariableName of fixture project org.eclipse.recommenders.tests.fixtures.rcp.codecompletion.templates we define that completion in this situation should work:
Button b<^Space>

So I'm expecting that
Button b <^Space>
will also work, what is not the case.
Comment 1 Marcel Bruch CLA 2013-04-10 02:31:01 EDT
JDT api does not allow us to fetch that information easily as it's a different completion node. It looks like we would need to do some code parsing ourselves which I think isn't worth the small usability enhancement. Therefore I close this one with wontfix. If someone steps up and wants to fix it, a good patch is welcome.