Page 1 of 1

Add source functionality to XSLT JavaScript editor

Posted: Thu Feb 09, 2012 4:02 pm
by lukaseder
Hello,

We've been in contact before via E-Mail, we're devoted Eclipse Oxygen users and we're really thrilled by the latest increments including a Javascript editor that is integrated in the XSL editor, well done!

So here come some suggestions :-)

In Eclipse WTP, there is also a Javascript editor, and it features source editing functionality such as "Toggle Comment", "Add Block Comment", etc (see screenshot), which are very useful. Do you think that this might be a nice addition to Oxygen as well? It would work as soon as the whole selection is Javascript-only (or XSL-only, etc)

Cheers
Lukas

Screenshot:

Re: Add source functionality to XSLT JavaScript editor

Posted: Thu Feb 09, 2012 4:18 pm
by lukaseder
The screenshot can be seen here:

http://imgur.com/t5clG
Image

Re: Add source functionality to XSLT JavaScript editor

Posted: Thu Feb 09, 2012 4:47 pm
by Costin
Hello,

First, I want to thank you for the nice words and your devotion. We appreciate that.
Regarding your suggestions, I have logged that on our issue tracking tool and will consider adding this as a feature of a future version of oXygen.

Thank you for your feedback!

Regards,
Costin.

Re: Add source functionality to XSLT JavaScript editor

Posted: Thu Feb 09, 2012 6:20 pm
by lukaseder
Great, thank you Costin!

Re: Add source functionality to XSLT JavaScript editor

Posted: Fri Feb 10, 2012 11:23 am
by Costin
I just wanted to let you know that oXygen actually has a "Toggle Comment" action for JavaScript, available from the context menu, or by "Ctrl+Shift+Comma" shortcut.
However, this is slightly different than the same action from WTP. This means that oXygen creates an interval comment, not a line level comment. I hope this will help.

Best,
Costin.

Re: Add source functionality to XSLT JavaScript editor

Posted: Mon Mar 05, 2012 1:23 pm
by lukaseder
Hello Costin,

Currently, we're using Eclipse's WTP JavaScript editor for plain JavaScript files. In this case, I was wondering if block-commenting might be available for JavaScript blocks inside of XSL files, which is our primary use-case

Cheers
Lukas

Re: Add source functionality to XSLT JavaScript editor

Posted: Mon Mar 05, 2012 4:00 pm
by adrian
Hi,

Currently(v13.2) specialized actions are not available for embedded content(JavaScript in XSL/XHTML). So, no, there is no specialized block commenting for JavaScript in XSL/XHTML.
I've logged this as a request to our issue tracking tool.

Regards,
Adrian