• 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 file type to Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding new file type to Xcode


  • Subject: Adding new file type to Xcode
  • From: Zachary Pincus <email@hidden>
  • Date: Fri, 15 Jul 2005 17:39:47 -0700

Hello,

I'm trying to get Xcode to recognize ".txx" files as being C++ headers.

Following the advice from this list (e.g. http://lists.apple.com/ archives/Xcode-users/2004/Jan/msg00548.html ), I created the file:
~/Library/Application Support/Developer Tools/Specifications/ txxheader.pbfilespec


which contains the text:
(
            {
                Identifier = sourcecode.cpp.h.txx;
                BasedOn = sourcecode.cpp.h;
                Extensions = (txx);
            },
)

Unfortunately, Xcode still doesn't recognize txx files as being c++ -- it doesn't syntax color them by default, and the identifier sourcecode.cpp.h.txx doesn't appear in the "File Types" Xcode prefs pane.

Any thoughts as to what I've done wrong?

I'm using Xcode 2.1 on 10.4.2.

Zach Pincus




Program in Biomedical Informatics and Department of Biochemistry Stanford University School of Medicine

_______________________________________________
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: Adding new file type to Xcode
      • From: Brandon Sneed <email@hidden>
    • Re: Adding new file type to Xcode
      • From: Damien Bobillot <email@hidden>
  • Prev by Date: Re: error: array bound is not an integer constant
  • Next by Date: XCode 2.1 Unstable
  • Previous by thread: MySQL
  • Next by thread: Re: Adding new file type to Xcode
  • Index(es):
    • Date
    • Thread