Reputation: 5915
What is the keyboard shortcut to preview a method's code as a pop-up?
I'm looking to preview the code inside of a given method much like one would preview the javadoc by placing the caret on the method and pressing F1.
I used to know this shortcut, but my memory is failing me harder than the various search algorithms and mom isn't home right now. ;-)
Upvotes: 3
Views: 504
Reputation: 12948
I think you need the shortcut keys to Quick Definition. So jos76's idea is correct. But we have to map it to your keymap.
As I found from Settings -> Keymap, these are the keyboard shortcuts for Mac OS 10.5+. You may change as your convenience.
And you can also try
So it looks like this.
Upvotes: 3