문제

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.

도움이 되었습니까?

해결책

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.

다른 팁

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.

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top