I want to assign a shortcut key to the "Jump To Definition" context menu item in XCode.
How?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityI want to assign a shortcut key to the "Jump To Definition" context menu item in XCode.
How?
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.
Or you could set it in your .pbxkeys keybindings file as something like
<key>^i</key><string>jumpToSelectionDefinition:</string>
Although a little offtopic I found this article helpful since I was searching for a way to apply a shortcut ...