Page 1 of 1

Add auto-completion functionality for Xalan namespaces in XSL Editor

Posted: Mon Feb 27, 2012 4:28 pm
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

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

Posted: Mon Feb 27, 2012 4:32 pm
by lukaseder
Here's a sample outcome after auto-completion:

Image

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

Posted: Mon Feb 27, 2012 4:39 pm
by pvedovato
that's a cool feature -> +1

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

Posted: Mon Feb 27, 2012 5:12 pm
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

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

Posted: Mon Mar 05, 2012 1:20 pm
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