ContentAssistant help [message #309932] |
Mon, 13 November 2006 06:01  |
Eclipse User |
|
|
|
Hi all, hope this is the right forum for my problem
I'm searching information on content assistant
I have a plug-in with a Text Viewer...
I have defined a ContentAssistend with a content assist processor ...
I'm able to get a list of suggestion depending on what I have typed before
So, if I have typed "String" I can get a suggestion list saying ...
String(char[] value, int offset, int count)
String(int[] codePoints, int offset, int count)
String.copyValueOf(char[] data)
Now ... once the popup is closed I got the whole word replaced with the
suggested selected line.
i.e.
String --> String.copyValueOf(char[] data)
What can I do to interact with the returned suggestion?
I would like to see
"String" --> "String.copyValueOf("
Thanks for any help or example.
Kar
|
|
|
Re: ContentAssistant help [message #309945 is a reply to message #309932] |
Mon, 13 November 2006 08:27  |
Eclipse User |
|
|
|
KarSc wrote:
>Hi all, hope this is the right forum for my problem
>
>
>
>I'm searching information on content assistant
>
>
>
>I have a plug-in with a Text Viewer...
>
>I have defined a ContentAssistend with a content assist processor ...
>
>
>
>I'm able to get a list of suggestion depending on what I have typed before
>
>
>
>So, if I have typed "String" I can get a suggestion list saying ...
>
> String(char[] value, int offset, int count)
>
> String(int[] codePoints, int offset, int count)
>
> String.copyValueOf(char[] data)
>
>
>
>
>Now ... once the popup is closed I got the whole word replaced with the
>suggested selected line.
>
>
>
>i.e.
>
>String --> String.copyValueOf(char[] data)
>
>
>
>What can I do to interact with the returned suggestion?
>
>I would like to see
>
>"String" --> "String.copyValueOf("
>
>
The proposal is responsible to create what's inserted, see
ICompletionProposal.apply(*)
Dani
>
>
>Thanks for any help or example.
>
>
>
>Kar
>
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.29764 seconds