• 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: How to tell Xcode that .txx files are C++ ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to tell Xcode that .txx files are C++ ?


  • Subject: Re: How to tell Xcode that .txx files are C++ ?
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 21 Dec 2007 10:26:25 -0800


On Dec 21, 2007, at 9:54 AM, Sean McBride wrote:

Is there a way I can teach Xcode that all files ending with ".txx" are
in fact C++? I would like it to apply C++ syntax colouring to such
files. I know I can change this on a per-file basis, but I'd like to be
able to change it app-wide, everywhere, for ever.

One way to do it is to write your own app and in its Info.plist add a Launch Services file type designator for .txx files and give them the UTI sourcecode.cpp.cpp. Register that app with Launch Services. Then everything everywhere—not just Xcode—will consider that a C++ text file.


Chris _______________________________________________
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: 
 >How to tell Xcode that .txx files are C++ ? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: globals and debugging
  • Next by Date: Re: Warning after upgrade (Formerly: Xcode-users Digest, Vol 4, Issue 717)
  • Previous by thread: How to tell Xcode that .txx files are C++ ?
  • Next by thread: RE: Using Interface Categories vs Interface Builder
  • Index(es):
    • Date
    • Thread