简体   繁体   中英

Changing MySQL Workbench shortcut key mac osx?

I have mysql workbench installed on a mac. I am trying to use shortcuts for sql auto-complete. As per their documentation it is Modifier+Space http://dev.mysql.com/doc/workbench/en/wb-keys.html

Problem I have is that, Command+Space is configured to open spotlight for me and I want to keep it that way. Is there a way to modify the shortcut on workbench so i can make it control+space instead to do sql auto-complete?

Looking into main_menu.xml, the mac version actually uses CMD+ESC for the auto complete. So you don't need to change anything.

FYI, file is inside the application package, at: /Applications/MySQLWorkbench.app/Contents/Resources/data/main_menu.xml

Mysql Workbench -> Preferences -> SQL Editor -> Productivity -> Automatically Start Code Completion

BAM! :)

I found the below on SO, it is a very similar query however it answers for Ubuntu Linux. I think the same principal will apply however on your mac.

Customizing Keyboard Shortcuts in MySql Workbench

Hope this helps.

Alec

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM