Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode History (back/forward) Keyboard Shortcut?

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

like image 692
Brent Faust Avatar asked Jul 12 '10 21:07

Brent Faust


People also ask

What is the keyboard shortcut for forward and back?

In all major Internet browsers, you can move forwards and backwards by pressing and holding the Alt key and then pressing the left or right arrow key. Pressing the left arrow goes back a page and pressing the right arrow moves forward a page.

How do I use previous screen on keyboard?

For example, if you press Tab in a text box, the system inserts a tab space. To give focus to the previous element or control, press Shift+Ctrl+Tab.


1 Answers

In XCode 4.4 the following sequence works:

Cmd + Ctrl +

and it operates on a file level.

like image 59
Sebastian Juarez Avatar answered Sep 29 '22 22:09

Sebastian Juarez