Re: any keyboard method for going through open files besides fwd/back?
Re: any keyboard method for going through open files besides fwd/back?
- Subject: Re: any keyboard method for going through open files besides fwd/back?
- From: Christopher Corbell <email@hidden>
- Date: Wed, 13 May 2009 23:40:20 -0700
On Wed, May 13, 2009 at 9:38 PM, Chris Espinosa
<email@hidden> wrote:
On May 13, 2009, at 8:44 PM, Christopher Corbell wrote:
I think I know the answer but searching through the archives I didn't see it asked exactly this way...
....
I'd
still like to be able to just cycle through all open files like you
would cycle through tabs in a tabbed interface, or cycle through open
windows with command-`.
There isn't such a keyboard shortcut that I overlooked in Xcode, is there?
Go Forward/Go Back is the gist of it, but of course it's not all
open files, it's just the files that have ever been open in that navigator window, to the limit of its file history.
Ah I was afraid of that... The real problem is that forward/back is
-not- all files that have been open in that window's file history.
Here's the simplest case where this is broken (this is with 3.1.1):
1. Open 2 header files; go back to the first one, then forward to the second one using cmd-opt-arrows
2. Use cmd-up-arrow to open its counterpart
3. Now use back, twice, to go back to the header file that was first in the navigation
4. Use cmd-up arrow to open its counterpart
At this point you can only go back, and you can only go back once (to
the header file for the counterpart you just opened) - there is no way
to navigate to the second header or its counterpart via forward/back.
Drag! It's the worst. This happens to me all the time when I'm editing a class and its unit test.
You
might want to investigate using the Detail view more: select a
container (project, target, or group), then enter a partial filename or
regex (using the magnifying glass menu) to filter the Detail list to
the things you care about, then you can arrow up or down through the
list to get to what you want.
Thanks, the Spotlight approach is pretty cool, though I was already
using Open Quickly which pretty much does the same thing. The Groups/Files/detail
views themselves can be really annoying because they will open intermediate files as
you type filenames or arrow arround and inject them into your File History when they're irrelevant, but either the Spotlight menu or Open
Quickly can avoid that.
But both those approaches seem like extra work when you've already just
been editing the half-dozen files you need in the Xcode window and just
want to cycle through them, but can't because forward/back is broken.
(Almost as bad is the jarring beep when you get to the end - why can't
it just wrap around the file history?)
I'm on the verge of actually going back to multi-window editing with
Xcode as much as I prefer the single-window, just so I can at least
open the 6-8 files I want and then use command-` to get around. :-/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden