Page 1 of 1

XQuery source: comment selection

Posted: Thu Feb 09, 2006 4:48 am
by dsewell
Request for a right-click option when editing an XQuery file: "comment selection". So that:

Code: Select all

for $i in $foobar
return $i/@something
becomes

Code: Select all

(: for $i in $foobar
return $i/@something :)

Posted: Fri Feb 10, 2006 10:40 am
by stefan
I added your enhancement request to our todo list.

Posted: Fri Feb 10, 2006 5:21 pm
by dsewell
stefan wrote:I added your enhancement request to our todo list.
Thanks! :D

Posted: Mon Feb 13, 2006 7:05 pm
by Radu
Hi,

Just wanted to let you know that we made some changes in the commenting actions.
The action is now called "Toggle comment" and also works on CSS, JS and XQuery documents the same way as in XML documents. If you have a selection it will comment/uncomment it depending whether that selection is a block comment or not.
If you don't have anything selected it will either comment the line at caret position or uncomment the comment block in which the caret is found.
This will probably be incorporated in the 7.1 maintainance version available in a couple of weeks.

Regards, Radu.