|
|
Re: Java content assist: Typing in '(' after the method name automatically selected the method...? [message #246029 is a reply to message #245914] |
Thu, 19 July 2007 16:08  |
Eclipse User |
|
|
|
Daniel Megert wrote:
> AL wrote:
>
>> Hi,
>>
>> In java, when the list of proposals is displayed, if I typed in the
>> '(' character, the current proposal (the highlighted one) from the
>> list of proposal is automatically chosen, and context info popup is
>> shown. How is that done in the Java editor? Thanks.
>
> This is done by the content assistant framework: it asks the selected
> proposal for its trigger characters and if they match the entered
> character it will be inserted and context assist started.
>
> Dani
Yeah, after debugging through the JDT's editor...It turns out that one's
completion proposal must implement the interface
ICompletionProposalExtension in order for Eclipse ask for the trigger
chars from the completion object.
|
|
|
Powered by
FUDForum. Page generated in 0.24645 seconds