Where is the basic Control-TAB (MRU) behavior in Xcode?

1.2k views Asked by At

In most multi-document editors for windowing environments, Control-TAB will utilize an MRU list to bring the user back to the last visible file. What is the appropriate command to accomplish this in Xcode 3.x?

I currently have Ctrl-TAB mapped to "View|Previous File", however this does not appear to be an MRU. Worse yet, if it hits the "beginning" of the list (should be a circular buffer), it falls back on inserting an actual TAB character into the text editor.

3

There are 3 answers

2
blueberryfields On BEST ANSWER

As of Xcode Version 3, there isn't anything that's exactly like the MRU you describe - however, check out the discussion on this page for some options that will get you closer to the behavior you want.

4
Anthony F On

In Xcode 3 (or any Mac application) you can use Command-Tilde (⌘~) to switch between open windows.

In Xcode 4 you use ⌘} for next tab and ⌘{ for previous tab - command shift bracket.

As a side note, for some reason Xcode 4 won't let me set the key binding for previous/next tab to the standard Control-Tab. When I try it puts in Command-Control-Tab.

2
Peter Lamberg On

In recent XCode (10.3), when in a code editor press:

ctrl+1, right, right

Then use up and down keys and enter to select from the MRU sorted list of recent files.

There is even an option to increase the size of the history.