DataGrip - Console/Editor does not respond to shortcut keys but other views do
Hello,
I've been enjoying datagrip for a while. I'm using OSX 10.12.6. In the database console and file editor, I am unable to use shortcut keys. Anything using CMD/CTRL/OPTION does not work. This has worked for a long time, and it works fine in other views, like the data sources. Quitting/restarting DataGrip and restarting my computer did not help. What can I do?
Thanks in advance!
Please sign in to leave a comment.
The shortcut keys generally work for me but I did find that in the source editor, command-R runs the script instead of opening the replace bar - seems related?
@Nick, I don't think so - in OS X Control-R (^R) is replace. Interestingly, that keystroke worked for me.
For all who read this, the primary keystroke I'm concerned with is CMD-ENTER
Ah. I'm running PyCharm but following the DataGrip community because 70% of my work is using the database/SQL plugin (which is generally exactly the same as DataGrip, but not always, evidently). Sorry for any confusion.
More details of my problem: I fixed it, found more details and reproduced it. It's actually swapping CTRL and COMMAND
I fixed it by going to preferences -> keymap, and resetting the keymap.
I reproduced it by undoing, and a dialog box asked me "Are you sure you want to undo null?". After clicking yes, it then swapped they keystrokes.
@Nick, I was wrong, it is CMD-R, just that they had swapped in my menus as well.