views:

21

answers:

1

Back Arrow Broken In XCode 3.2

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?

(Another user noted that pressing Shift in combination works -- but that does not work.)

A: 

Beginning in XCode 3.2.3, the following key sequence works:

Cmd-Option-Shift-Left Arrow

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 Right Arrow).