• 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: Brandon Sneed <email@hidden>
  • Date: Sat, 16 Jul 2005 09:26:23 -0500

(
        {
            Identifier = sourcecode.c.rc;
            BasedOn = sourcecode.c;
            Extensions = (rc);
            ComputerLanguage = c;
            AppliesToBuildRules = yes;
        IncludeInIndex = NO;
        CanSetIncludeInIndex = NO;
        },
)

i named it "RC.pbfilespec" and put it in "\Library\Application Support \Apple\Developer Tools\Specifications" and it works like a charm. Hope this helps you.


Brandon Sneed

On Jul 15, 2005, at 7:39 PM, Zachary Pincus wrote:

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


_______________________________________________ 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: Re: Cross development with SDK 10.3.9 not compatible with 10.3.8
  • Next by Date: Re: Displaying Custom Data Types in Debugger
  • Previous by thread: Re: Adding new file type to Xcode
  • Next by thread: XCode 2.1 Unstable
  • Index(es):
    • Date
    • Thread