| Content Assist for methods in custom editor [message #632057]
||Mon, 11 October 2010 11:51
Registered: August 2010
I am working on developing an editor. For this editor, we need to provide content assist support. So, for that, I extended "ScriptCompletionEngine" class. |
My issue is with parameter list in methods. After creating CompletionProposal for method, I set parameter values of that method. And, yeah, it is getting displayed. But as we see in Java editor, the selected parameter name is not getting highlighted in the help info balloon. If there are multiple parameter names, then when I press tab, selection goes to next paramater but at the same time the help info balloon disappears.. I tried the same in a Ruby editor and there also same thing is happening.
Also, do I need to give the parameter type along with parameter name while setting the parameter list?
eg: parameter -> param1, type int.. So the parameter name to be set in proposal.setParameterNames() is "int param1"?? Or is there any other section where I need to mention the parameter type?
Following is the summary of my requirement/issues
1) Selected parameter name is not getting highlighted.
2) Help info balloon disappears when selection is changed to next parameter by selecting tab.
3) How to display parameter type along with parameter name?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.01905 seconds