I went to the official Workbench keyboard shortcut page and found this:
Function | Keyboard Shortcut | Context -------------------------------+-------------------+----------- Comment/Uncomment lines of SQL | Modifier+/ | SQL Editor
However, Control+/ doesn't work.
I have MySQL Workbench installed on a Windows machine. How do you get the shortcut to work?
In MySQL, a comment that starts with /* symbol and ends with */ and can be anywhere in your SQL statement. This method of commenting can span several lines within your SQL.
Single line comments start with -- . Any text between -- and the end of the line will be ignored (will not be executed).
To manually start, stop, or restart the Workbench service,In the Windows system taskbar, right-click the Workbench service icon. A menu appears. Select Service, then click the option you want (Start, Stop, or Restart).
Thanks for filing the bug report, it's annoying.
If you have a full size keyboard try using the division symbol.
i.e. The CONTROL + "/" using the division key above the keypad instead of the "?/" key on the main keyboard.
It's not nearly as convenient, but it works for me with Windows 7 and MYSQL Workbench 6.1.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With