• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Syntax highlighting for my own types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Syntax highlighting for my own types (From: Michael <email@hidden>)
 >Re: Syntax highlighting for my own types (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Syntax highlighting for my own types
  • Next by Date: Re: Syntax highlighting for my own types
  • Previous by thread: Re: Syntax highlighting for my own types
  • Next by thread: Re: Syntax highlighting for my own types
  • Index(es):
    • Date
    • Thread