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

Bug 354904

Summary: Information about triggering completion on a parameter declaration is missing
Product: z_Archived Reporter: Stefan Henss <stefan.henss>
Component: RecommendersAssignee: Marcel Bruch <marcel.bruch>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Stefan Henss CLA 2011-08-17 00:46:42 EDT
When calling code completion as part of parameter declaration, e.g.

System.err.println(button.<^Space>); 

there is no information that this is a special occasion given by CompilerAstCompletionNodeFinder or the associated Variable object.

As a result, I'm unable to prevent template proposals for this occasion.
Comment 1 Marcel Bruch CLA 2012-01-12 06:53:10 EST
FWIW, I added this behavior to current completion context of 3.7. It now provides a MessageSend as parent. Test case is located in RecommendersCompletionContextTest.