Xcode History (back/forward) Keyboard Shortcut?

XcodeKeyboard Shortcuts

Xcode Problem Overview


Back Arrow Broken In Xcode?

Is there keyboard command to go back/forward one file at a time.

Xcode 3.2 changed the behavior of Cmd-Opt <-- and -->. As noted in another question, they do not operate on a file level like in previous versions of Xcode, but on an "edit point", making it cumbersome to flip through a list of files (the quick way to do it, since Xcode does not support Tabs, as in Eclipse).

Rob Keniger found a partial solution that he noted in another post: > "Hold down the option key while you click the forward/backward arrows ..."

But this requires fiddling with the mouse. Is there any way to do it with the keyboard only?

EDIT: Later versions of Xcode (v7.2+) now have a Navigate menu (and it changes the keyboard shortcuts yet again): enter image description here

Xcode Solutions


Solution 1 - Xcode

In XCode 4.4 the following sequence works:

Cmd + Ctrl +

and it operates on a file level.

Solution 2 - Xcode

On Xcode 8 I use 2 fingers left / right

Solution 3 - Xcode

Beginning in XCode 3.2.3, the following key sequence works:

Cmd + Option + Shift +

Without the Shift key, it just goes back to the previous cursor position. Adding Shift jumps to the previous file (next file, in combination with ).

Solution 4 - Xcode

Navigation shortcuts for Xcode enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionBrent FaustView Question on Stackoverflow
Solution 1 - XcodeSebastian JuarezView Answer on Stackoverflow
Solution 2 - XcodearsenikView Answer on Stackoverflow
Solution 3 - XcodeRubskiView Answer on Stackoverflow
Solution 4 - XcodeWasimView Answer on Stackoverflow