Re: Syntax highlighting for my own types
Re: Syntax highlighting for my own types
- Subject: Re: Syntax highlighting for my own types
- From: Dave MacLachlan <email@hidden>
- Date: Thu, 13 Jul 2006 12:57:44 -0700
On Jul 13, 2006, at 12:42 PM, Sean McBride wrote:
On 2006-07-13 20:31, Michael said:
I believe that it's possible to set Xcode to highlight more than
just the
standard C, C++ & Obj-C keywords
No, you're thinking of CodeWarrior. :)
You can write your own pblangspec and have it override the standard C
pblangspec if you like...
open up
"/System/Library/PrivateFrameworks/DevToolsCore.framework/Versions/A/
Resources/Built-in languages.pblangspec"
in Xcode, and cut out all the languages except for ANSI C. Add your
own keywords to the list. Save this in
"~/Library/Application Support/Apple/Developer Tools/Specifications"
relaunch Xcode...and things should be great. Note that this will
override any changes that Apple makes in new versions of the
Developer Tools code coloring for any language that "inherits" from
ANSI C...not that I'm expecting that definition to change too much :)
Cheers,
Dave
_______________________________________________
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