Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode shortcut for jumping to implementation of a method?

Tags:

Is there a keyboard shortcut in Xcode for jumping to the implementation of a method? I am aware of the fact the command+click will jump to definition, but I want to jump to the implementation method, not the definition. Also, I want to use keyboard shortcuts, with no involvement of the mouse (including clicks).

like image 447
Evil Nodoer Avatar asked Jan 05 '12 19:01

Evil Nodoer


People also ask

How do you jump to define in Xcode?

To directly jump to a definition, you can combine ^ ctrl + ⌘ command + click .

How do I navigate back in Xcode?

In Xcode 4 preferences, it's configured to be ^ + ⌘ + ← (control-command-left arrow) to navigate back and ^ + ⌘ + → (control-command-right arrow) to navigate forwards.

How do I search for a function in Xcode?

Find Text or Patterns in Your Source Code To find text in a file, open the file in the Xcode source editor and choose Find > Find from the menu bar. Xcode displays the Find bar and its search controls at the top of the file. Enter a search term. Xcode searches the file, highlights matches, and notes how many it finds.


2 Answers

Keyboard shortcut for 'jump to definition' in XCode 4.5: Control-Command-J

Another useful shortcut after jumping to definition is Control-Command-Left (which takes you back).

like image 110
Johnny Oshika Avatar answered Sep 27 '22 06:09

Johnny Oshika


Command + click will work, If you want "keyboard only" shortcut you need to map it under Preferences->key bindings->Edit->Find->jump to definition

like image 24
Guy Ephraim Avatar answered Sep 27 '22 06:09

Guy Ephraim