adamweeks
adamweeks

Reputation: 1332

Using Xcode, how do you jump to a definition in counterpart view?

I use the counterpart view a lot in Xcode 4 to have my header files open along side my .m files. If you right-click, command-click, etc on the method names in the header file it will jump to the definition in that same view window. I'd rather it take me to the method in the counterpart window that already has the definition in it. Is this possible?

Upvotes: 0

Views: 555

Answers (2)

Darren
Darren

Reputation: 25619

The Option key transfers most navigation operations to the counterpart view, so to jump to a definition in the counterpart view use Command+Option+Click.

Upvotes: 1

Andrew Madsen
Andrew Madsen

Reputation: 21373

If you command-option-click on a symbol, its declaration will be opened in the other (counterpart) editor.

Upvotes: 1

Related Questions