• 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
Adding new programming languages to Xcode 3.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding new programming languages to Xcode 3.0


  • Subject: Adding new programming languages to Xcode 3.0
  • From: Jamie Curmi <email@hidden>
  • Date: Fri, 9 Nov 2007 23:59:58 +1100

Hi all,

I was wondering if anyone has any pointers for adding new programming languages to Xcode 3.0 (for syntax highlighting, at a minimum). It seems the format of these files has changed since 2.x.

Previously, you could create .pbfilespec and .pblangspec files and place them in

~/Library/Application Support/Apple/Developer Tools/Specifications/

However, with Xcode 3, the old style files no longer work. Instead, Xcode 3.0 uses .xclangspec files, that have a very different format - obviously to give more power to syntax highlighting etc. You can see your existing languages here on Leopard:

/Developer/Library/PrivateFrameworks/XcodeEdit.framework/Versions/A/ Resources/

I wanted to put something together for syntax highlighting of Groovy code, based on Java syntax. But I can't figure out how you add new languages, or how to get them picked up by Xcode.

If anyone has any pointers, I'd be grateful.

Jamie

PS. Apologies if this has been discussed before. I did a search in the mailing list and couldn't find anything.
_______________________________________________
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
  • Prev by Date: XCode 2.0 and .pbxproj files
  • Next by Date: Anybody really, really using Xcode 3 ? (Was: Xcode 3.0 stalls)
  • Previous by thread: Re: XCode 2.0 and .pbxproj files
  • Next by thread: Adding new programming languages to Xcode 3.0
  • Index(es):
    • Date
    • Thread