distal-attribute
distal-attribute
distal-attribute
distal-attribute

One-click toggle to turn query "on" or comment out

User, date Message
Written by charlieo
2 months ago
Category: Feature discussion
4 posts since Mon, 22 Jul 13
Often times I am writing a series of complex queries in one tab. As I'm working through issues, I often want to turn some of the queries "on" or "off". What I do now is /*...*/ which works but it's a pain when I'm juggling lots of things on and off.

It would be great if there was a simple, direct way to toggle a given query on or off. For example, place the cursor anywhere in the given query and then double click in the left gutter (line #s) and the query where the cursor is sitting (through the nextwinkis commented out. Reverse the process to turn it back on.

Would be very nice.

Charlie O.
Written by ansgar
2 months ago
5023 posts since Fri, 07 Apr 06
Rightclick > "Un/comment"

You can assign a shortcut to that menu item, in Tools > Preferences > Shortcuts > SQL
Written by charlieo
2 months ago
4 posts since Mon, 22 Jul 13
Nice. Wow, I had no idea these were there!

Thank you.

Charlie
 

Please login to leave a reply, or register at first.