Add auto-completion functionality for Xalan namespaces in XSL Editor

Are you missing a feature? Request its implementation here.
lukaseder
Posts: 19
Joined: Thu Feb 09, 2012 3:52 pm

Add auto-completion functionality for Xalan namespaces in XSL Editor

Post by lukaseder »

Now here's an advanced feature that would really really be nice in our application! We're using XSL with Xalan/Xerces, and we make heavy use of the Xalan extension methods:

http://exslt.org/

As well as of our own ones. Here's a sample Java class:

Image

And here's an example of an XSL file, how we're using XSL with Xalan:

Image

Now, when typing "set:", it would be very neat if I had access to an auto-completion dropdown showing me the options (and potentially documentation) available from the Xalan library:

http://exslt.org/set/index.html

In a similar way, when typing "functions:", it would be awesome if the oXygen XSL Editor could interact with the Eclipse JDT to find the com.example.Functions class and list all its methods (and Javadoc) in an auto-completion dropdown
lukaseder
Posts: 19
Joined: Thu Feb 09, 2012 3:52 pm

Re: Add auto-completion functionality for Xalan namespaces in XSL Editor

Post by lukaseder »

Here's a sample outcome after auto-completion:

Image
pvedovato
Posts: 1
Joined: Mon Feb 27, 2012 4:36 pm

Re: Add auto-completion functionality for Xalan namespaces in XSL Editor

Post by pvedovato »

that's a cool feature -> +1
adrian
Posts: 2883
Joined: Tue May 17, 2005 4:01 pm

Re: Add auto-completion functionality for Xalan namespaces in XSL Editor

Post by adrian »

Hello,

Thank you for the feedback.
We already have this feature request(EXSLT content completion) logged on our issue tracking tool. I've added your vote.

Regarding the content completion from Eclipse JDT, that's a lot more difficult to implement. Maybe in the long run.

Do not hesitate to contact us if you have further suggestions.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
lukaseder
Posts: 19
Joined: Thu Feb 09, 2012 3:52 pm

Re: Add auto-completion functionality for Xalan namespaces in XSL Editor

Post by lukaseder »

Hello Adrian,

I see. I thought about it myself, and I figured it wouldn't be easy to hook into Eclipse JDT to find all possible method candidates efficiently. But exslt would already be very nice.

Cheers
Lukas
Post Reply