It's obviously a bug in CW, and it's been a bug for a long time.
Sometimes you lose the coloring and go-to capability and it usually
comes back at some point for no apparent reason. At least that's how it
works for me.
Larry
I think I know workaround for that issue:
If I put #include into my source file (I do have precompiled headers,
So I didn't have includes in my source file), then I got coloring
And ability to find definitions
For example, I added the following includes to my file:
#include <IOKit/IOKitKeys.h>
#include <IOKit/IOKitLib.h>
#include <IOKit/IOBSD.h>
#include <ApplicationServices/ApplicationServices.h>
#include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFBase.h>
#include <CoreFoundation/CFString.h>
And all related functions and data type became blue and I could right click
and go to the definition
Thanks
On 5/21/05 10:03 AM, in article
1116684182.346272.28750@g49g2000cwa.googlegroups.com, "larry@skytag.com"
> It's obviously a bug in CW, and it's been a bug for a long time.
> Sometimes you lose the coloring and go-to capability and it usually
> comes back at some point for no apparent reason. At least that's how it
> works for me.
>
> Larry
MW Ron - 22 May 2005 19:48 GMT
>I think I know workaround for that issue:
>
[quoted text clipped - 13 lines]
>And all related functions and data type became blue and I could right click
>and go to the definition
Hmm, I wonder if the require framework style includes is different in
the precompiled header and your project if that has something to do
with it.
Glad you have it working.
Ron
>Thanks
>
[quoted text clipped - 7 lines]
>>
>> Larry

Signature
Metrowerks Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and Metrowerks' staff
-- http://www.metrowerks.com/community --
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
>It's obviously a bug in CW, and it's been a bug for a long time.
>Sometimes you lose the coloring and go-to capability and it usually
>comes back at some point for no apparent reason. At least that's how it
>works for me.
>
>Larry
Hi Larry,
I don't know what this is, I don't think it is a bug in CW, it sounds
like a conflict of some sort with another TSR or something. Do you have
any special software running. desktop enhancers, spell checkers ,
quick keys etc?
Ron

Signature
Metrowerks Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and Metrowerks' staff
-- http://www.metrowerks.com/community --
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
larry@skytag.com - 23 May 2005 08:04 GMT
No desktop enhancers, no spelling checkers, no QuickKeys. I just think
CW needs to go through some sequence of events before it gets
everything figured out. I consider it a bug, but I've never pinned down
exactly when it happens, in part because it only happens in conjunction
with having to recompile my entire project (but not every time I do
that), and that takes too long for me to spend a lot of time trying
different scenarios to come up with a reproducible case. Eventually it
fixes itself, but I can't tell you what triggers that either.
Larry
MW Ron - 23 May 2005 15:32 GMT
>No desktop enhancers, no spelling checkers, no QuickKeys. I just think
>CW needs to go through some sequence of events before it gets
[quoted text clipped - 4 lines]
>different scenarios to come up with a reproducible case. Eventually it
>fixes itself, but I can't tell you what triggers that either.
The only possible way to find this, if it is a bug, is for us to get a
hundred reports and see if we can narrow it down to some common
denominator. Something that happens on occasion and is only reported
by one person is totally impossible to find. I'm not saying it is not a
bug, but it may be unique to a limited number of users.
Ron

Signature
Metrowerks Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and Metrowerks' staff
-- http://www.metrowerks.com/community --
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com