Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354904 - Information about triggering completion on a parameter declaration is missing
Summary: Information about triggering completion on a parameter declaration is missing
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Recommenders (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Marcel Bruch CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 00:46 EDT by Stefan Henss CLA
Modified: 2019-07-24 14:35 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.