MySQL Workbench Common shortcut keys and methods of modifying shortcut keys

Source: Internet
Author: User

Common shortcut keys:

1. Execute the entire SQL script: "Ctrl" + "Shift" + "Enter"

2. Execute the current line: "Ctrl" + "Enter"

3. Comment/Uncomment: "Ctrl" + "/"

4. Format SQL statement (beautify SQL statement): "Ctrl" + "B"

5, (seemingly and input methods have conflict) Auto completion: "Ctrl" + "Space"

To modify a shortcut key:

The \data\main_menu.xml file is found in the installation root directory.

For example, the shortcut key to modify the Execute SQL statement is "F5":

<valuetype= "Object"Struct-name= "app. MenuItem "ID= "Com.mysql.wb.menu.query.exec"><Linktype= "Object"Key= "Owner"Struct-name= "app. MenuItem ">Com.mysql.wb.menu.query</Link><valuetype= "string"Key= "caption">Execute (all or Selection)</value> <valuetype= "string"Key= "Name">Query.execute</value> <valuetype= "string"Key= "command">Builtin:query.execute</value> <valuetype= "string"Key= "ItemType">Action</value><!--<value type= "string" key= "shortcut" >Modifier+Shift+Return</value> -<  value type= "string" key= "shortcut" >F5</value></value> 

Reference:

http://blog.csdn.net/stan_pcf/article/details/52092615

Http://www.cnblogs.com/shenyixin/p/4870917.html

MySQL Workbench Common shortcut keys and methods of modifying shortcut keys

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.