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

Re: Adding new file type to Xcode


  • Subject: Re: Adding new file type to Xcode
  • From: Damien Bobillot <email@hidden>
  • Date: Sat, 16 Jul 2005 10:40:56 +0200


Le 16 juil. 05 à 02:39, Zachary Pincus a écrit :

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

~/Library/Application Support/Apple/Developer Tools/Specifications/ txxheader.pbfilespec


Don't forget to restart Xcode after.

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.

I'm using Xcode 2.1 on 10.4.2.


--
Damien Bobillot

_______________________________________________
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: 
 >Adding new file type to Xcode (From: Zachary Pincus <email@hidden>)

  • Prev by Date: Universal Binary that runs on 10.3.x and up on PPC and 10.4.1 and up on Intel
  • Next by Date: Displaying Custom Data Types in Debugger
  • Previous by thread: Adding new file type to Xcode
  • Next by thread: Re: Adding new file type to Xcode
  • Index(es):
    • Date
    • Thread