darkheartfelt
darkheartfelt

Reputation: 1078

Is there a keyboard shortcut for cycling through pragma marks or methods in Xcode?

Often I want to quickly switch my focus back-and-forth between different methods in my code.

Is there is a keyboard shortcut to do so?

Is there anything I can do to more quickly get-to/switch-between pragma marks?

Upvotes: 8

Views: 1445

Answers (1)

Tim
Tim

Reputation: 9042

Ctrl + 6 this gives focus to the Document Items list. You can then type the method name partially (it even smartly handles typos), then press down and enter, you can also type pragma marks here.

Cmd + Shift + O for a global quick open of methods and files.

Upvotes: 18

Related Questions