Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Tex-Twil

macrumors 68030
Original poster
May 28, 2008
2,501
15
Berlin
Hello,
I'm starting with xcode and the 1st thing I can't find is the "jump to declaration" function. Not the jump to definition but declaration. I'm used to Eclipse and there it's the F3 key :)

int myInt;

... // a lot of code

// I want to jump from here to the 1st line
myInt = 10;

Thanks,
Tex
 
Hello,
I'm starting with xcode and the 1st thing I can't find is the "jump to declaration" function. Not the jump to definition but declaration. I'm used to Eclipse and there it's the F3 key :)



Thanks,
Tex

I don't believe there is an explicit way to do so.

Command-Double-Click will bring you to the definition.
Command-Double-Clicking the definition will bring you to the
declaration.
 
I don't believe there is an explicit way to do so.

Command-Double-Click will bring you to the definition.
Command-Double-Clicking the definition will bring you to the
declaration.
hmm well it doesn't seem to work with the example I gave.
 
cmd-doubleclick works in every remotely recent* version I'm aware of.


*certainly since Xcode 2, probably a good bit earlier than that.
 
cmd-doubleclick works in every remotely recent* version I'm aware of.


*certainly since Xcode 2, probably a good bit earlier than that.
Yes but the cmd-double click is not what I want !

When I'm in my code I want to find the place where I declared a varaible/object.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.