Bug #67002 Keyboard shortcut for comment/uncomment
Submitted: 28 Sep 2012 7:34 Modified: 27 Nov 2012 8:41
Reporter: Darren Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S4 (Feature request)
Version:5.2.43 OS:Linux (Linux 3.2.0-31-generic)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[28 Sep 2012 7:34] Darren Miller
Description:
This would greatly improve productivity when writing queries. (well, mine anyway!)

----- Developer Notes -----

MySQL Workbench CE for Linux/Unix version 5.2.43  revision 9869
Configuration Directory: /home/darren/.mysql/workbench
Data Directory: /usr/share/mysql-workbench
Cairo Version: 1.10.2
OS: Linux 3.2.0-31-generic
CPU: 8x Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz 1200.000 MHz, 15.7 GB RAM
Distribution: Ubuntu 12.04.1 LTS

How to repeat:
n/a
[22 Oct 2012 19:33] Alfredo Kojima
Does Edit -> Format -> Un/Comment Selection not work?
[22 Oct 2012 20:04] Darren Miller
Yes, the menu command works perfectly, but it takes time to get to it.

It's not possible to assign a keyboard shortcut to that command (on Linux anyway) which means moving hands over to the mouse or multiple keypresses to navigate the menu. Being able to hit something like CTRL + / would be great.
[24 Oct 2012 19:55] Armando Lopez Valencia
Great request! Thanks.
[27 Nov 2012 8:41] Philip Olson
Fixed as of the upcoming MySQL Workbench 5.2.45, and here's the changelog entry:

The "Control" + "/" keyboard shortcut was added to comment/uncomment lines
while editing SQL queries.

Thank you for the bug report.