• 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: custom keywords coloring
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom keywords coloring


  • Subject: Re: custom keywords coloring
  • From: Laurence Harris <email@hidden>
  • Date: Tue, 12 Dec 2006 13:20:37 -0500


On Dec 12, 2006, at 3:55 AM, Philip Aker wrote:

On 2006-12-12, at 00:16:48, Luigi Castelli wrote:

as it is often the case, I have some custom typedefs in my code such as:

typedef float float32

or

typedef unsigned long ulong

I would love Xcode to color these custom types as nicely as it colors all the other basic C types.

Any suggestions?


/System/Library/PrivateFrameworks/DevToolsCore.framework/Versions/A/ Resources/Built-in file types.pbfilespec

I believe there is a way to override this file by putting it in ~/ Application Support/Apple/Developer Tools or some such path. You can edit the various keywords.

Ah yes, it seems like a hack, but it works and the file in question is:

~/Library/Application Support/Apple/Developer Tools/Specifications/ Built-in languages.pblangspec

However, Xcode itself has to built-in support for customized keyword coloring the way CodeWarrior did.

Larry
_______________________________________________
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


  • Follow-Ups:
    • Re: custom keywords coloring
      • From: Shawn Erickson <email@hidden>
    • Re: custom keywords coloring
      • From: Philip Aker <email@hidden>
References: 
 >custom keywords coloring (From: Luigi Castelli <email@hidden>)
 >Re: custom keywords coloring (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Xcode 2.4.1 problem
  • Next by Date: Re: Xcode 2.4.1 problem
  • Previous by thread: Re: custom keywords coloring
  • Next by thread: Re: custom keywords coloring
  • Index(es):
    • Date
    • Thread