1
I want to assign a shortcut key to the "Jump To Definition" context menu item in XCode.
How?
1
I want to assign a shortcut key to the "Jump To Definition" context menu item in XCode.
How?
2
You did not mention which version of Xcode you are using, but here is how to do it in Xcode 2.5 (on 10.4/Tiger):
Since Jump to Definition is also an item in the Find menu, we can easily customize its binding. The item in the Find menu has the same effect as the menu item in the contextual menu. You can do this kind of main menu item key binding through System Preferences for applications that do not offer built-in binding customization.
1
Or you could set it in your .pbxkeys keybindings file as something like
<key>^i</key><string>jumpToSelectionDefinition:</string>
0
Although a little offtopic I found this article helpful since I was searching for a way to apply a shortcut ...
This works in the latest XCode as well (3.2.1 on Snow Leopard as of 1-25-2010). – alesplin – 2010-01-26T06:35:55.157