Reputation: 11336
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?
Upvotes: 4
Views: 5297
Reputation: 8284
Mysql Workbench -> Preferences -> SQL Editor -> Productivity -> Automatically Start Code Completion
BAM! :)
Upvotes: 2
Reputation: 1732
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
Upvotes: 13
Reputation: 5525
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
Upvotes: 1