Extending the WST XML Editor to support Expression language autocompletion [message #1060902] |
Wed, 29 May 2013 06:02 |
Pratik Bhatt Messages: 1 Registered: May 2013 |
Junior Member |
|
|
I am trying to get in to the world of Eclipse plugin development. I apologize, If this is not the correct place to post about for WST editor extension. I would appreciate if you could point me to the correct forum if possible.
I have been reading up on the WST XML Editor and how to extend it. I have been able to setup plugins which can provide me with autocompletion for xmls which refer to the name spaces in my XSD.
I am trying to take this one step further, I want to add auto completion for Expression Language along with the Element/attribute level auto completion in the xml editor. What would be the best way to achieve this.
For e.g.
I want to be able to get to this xml
<somename attr='${variable}' />
where ${variable} can be auto completed, i.e. it can be selected from a bunch of predefined variable names.
So I guess it would work similar to the JSP editor, but with custom XSD and custom EL variables, functions etc.
Thanks everyone for their help in advance.
|
|
|
Powered by
FUDForum. Page generated in 0.03657 seconds