Extending content assistance of WTP's XML editor [message #720904] |
Wed, 31 August 2011 09:06  |
Eclipse User |
|
|
|
Hello,
I'm trying to develop an Eclipse plugin which will extend Web Tool's XML Editor's content assistance in order to allow auto-completion of attribute values in XML files (a modest goal to begin with..).
So I've created a plugin which extends org.eclipse.wst.sse.ui.completionProposal , and managed to get completion proposals working with my own simple and unfeatured proposal computer.
Thing is, I'm not very keen on implementing a whole XML framework to determine where in the XML document the content assist was invoked, especially when the following class exists:
org.eclipse.wst.xml.ui.internal.contentassist.AbstractXMLCompletionProposalComputer
Unfortunately, it's not an available for plugin developers to extend.
I found this bug directly relating to the subject:
http s://bugs.eclipse.org/bugs/show_bug.cgi?id=310696
(cannot post links yet..)
Is there maybe a better way to accomplish this? Or anyway around this issue till the "bug" is fixed?
And also, a patch was created to resolve the bug. The contributor mentions targeting for the next milestone suitable milestone. Is it reasonable to apply the patch locally and to start developing the plugin?
Would appreciate any input or help with the matter.
Thanks a lot,
Roded
[Updated on: Thu, 01 September 2011 03:29] by Moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04362 seconds