Until a few versions ago, the CodeWarrior IDE
had a feature I often used and sorely miss:
Command-Tilda.
If the frontmost window was a source file (foo.cp),
command-tilda would show you the corresponding
header file (foo.h), opening it if necessary.
Likewise, command-tilda would take you
from a header file to the corresponding source file.
OK, I know that command-tilda is now used
to move from window to window, a newish Mac convention.
But why isn't the feature retained with some other way
to invoke it?
Deselection followed by Command-D then typing the filename
is the best replacement I've found. Slow and error prone!
Scrolling to the top of a source file, locating the
#include statement (which may be a screenful or more down)
is likewise slow.
The headers menu (near upper left corner) is likewise slow --
some of these menus will list over a hundred files,
and even on a cinema display, this is more than two screenfuls --
scrolling these things is an exercise in frustration.
I hope that I have just missed the documentation
on how to invoke this dearly beloved feature.
Yes?
--James
Matthew Collett - 18 Dec 2003 09:50 GMT
> Until a few versions ago, the CodeWarrior IDE
> had a feature I often used and sorely miss:
[quoted text clipped - 3 lines]
> command-tilda would show you the corresponding
> header file (foo.h), opening it if necessary.
The command is still there, but isn't bound to any key combination by
default. Select
Edit -> Commands and Key Bindings -> Miscellaneous -> Go to
header/source file
and specify whatever key binding you want.
Best wishes,
Matthew Collett

Signature
Those who assert that the mathematical sciences have nothing to say
about the good or the beautiful are mistaken. -- Aristotle
Ben Weiss - 22 Dec 2003 00:43 GMT
> > Until a few versions ago, the CodeWarrior IDE
> > had a feature I often used and sorely miss:
[quoted text clipped - 14 lines]
> Best wishes,
> Matthew Collett
It's too bad there's no way to override the system key bindings, but
Cmd-Option-Tilde seems to be a good way to set this function, fairly
easy to get used to.
It would also be nice if control-click on a document would show a list
of all files with the same name but different extensions, for easy
access... (for instance, foo.cpp, foo.r, foo.pch, etc.)

Signature
Ben Weiss | Any technology distinguishable from magic
President & CTO | is insufficiently advanced.
Shell & Slate Software | - Clarke C. Arthur
Steve - 22 Dec 2003 08:33 GMT
On 18/12/03 7:50 am, in article 171220032350558030%steinj@best.com, "James
Stein" <steinj@best.com> wrote:
> Until a few versions ago, the CodeWarrior IDE
> had a feature I often used and sorely miss:
[quoted text clipped - 30 lines]
>
> --James
Try Control-(the key to left of '1')
HTH
Steve.
Scott Ribe - 29 Dec 2003 18:00 GMT
> The headers menu (near upper left corner) is likewise slow --
> some of these menus will list over a hundred files,
> and even on a cinema display, this is more than two screenfuls --
> scrolling these things is an exercise in frustration.
Note that the more stuff you include in your precompiled header, the shorter
these lists are. I'm now in the habit of just including all of carbon and
most of the standard library in my precompiled header.