Add source functionality to XSLT JavaScript editor

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

Add source functionality to XSLT JavaScript editor

Post 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:
lukaseder
Posts: 19
Joined: Thu Feb 09, 2012 3:52 pm

Re: Add source functionality to XSLT JavaScript editor

Post by lukaseder »

The screenshot can be seen here:

http://imgur.com/t5clG
Image
Costin
Posts: 829
Joined: Mon Dec 05, 2011 6:04 pm

Re: Add source functionality to XSLT JavaScript editor

Post 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.
Costin Sandoi
oXygen XML Editor and Author Support
lukaseder
Posts: 19
Joined: Thu Feb 09, 2012 3:52 pm

Re: Add source functionality to XSLT JavaScript editor

Post by lukaseder »

Great, thank you Costin!
Costin
Posts: 829
Joined: Mon Dec 05, 2011 6:04 pm

Re: Add source functionality to XSLT JavaScript editor

Post 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.
Costin Sandoi
oXygen XML Editor and Author Support
lukaseder
Posts: 19
Joined: Thu Feb 09, 2012 3:52 pm

Re: Add source functionality to XSLT JavaScript editor

Post 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
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Add source functionality to XSLT JavaScript editor

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply