Xcode History (back / forward) Keyboard shortcut?

Is back arrow broken in Xcode?

Is there a 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 work at the file level, as in previous versions of Xcode, but at the "editing point", which makes it difficult to scroll through the list of files (a quick way to do this, since Xcode does not support tabs, as in Eclipse).

Rob Keniger found a partial solution, which he noted in another post:

"Hold down the selection key while you press the forward / back arrows ..."

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

EDIT : later versions of Xcode now show the answer in the Navigate menu (from v7.2): enter image description here

+58
xcode keyboard-shortcuts
Jul 12 2018-10-12T00:
source share
4 answers

Starting with 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 goes to the previous file (next file combined with β†’ ).

+13
Oct 28 2018-10-10-28
source share

In Xcode 4.4, the following sequence works:

Cmd + Ctrl + ←

and it works at the file level.

+193
Jul 13 '12 at 11:15
source share

In Xcode 8, I use 2 fingers left / right

+12
Jul 25 '17 at 12:07 on
source share

Xcode navigation shortcuts enter image description here

0
Jun 15 '19 at 5:24
source share



All Articles