Why can't I COMMAND+click a method call to go to it's declaration?
On OS X with 2.0 Beta 3:
Several of us are using RubyMine in the office. They can press COMMAND and then mouse-over methods and objects. The moused-over object or method is highlighted and clicking on it allows them to jump to the method declaration.
I have somehow disabled this behavior but I don't know how. I can right-click on the the method name, choose Go To and Declaration and it takes me to the correct place. But no combination of modifiers gets the mouse-over behavior they are seeing. What have I done and how do I undo it?
Thanks!
Please sign in to leave a comment.
Hello Jeffrey,
Did you change the keymapping for the Goto Declaration action (Command-B
by default)?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Ah ha! While I did not change the default, I had somehow lost my mouse shortcut. I didn't notice the 'Add Mouse Shortcut' before - and I was able to associate COMMAND + Click to GO TO DECLARATION and all is well. Thanks much!
Hello Jeffrey,
This is strange. :) The mouse shortcut should not be necessary for this feature
to work.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"