• 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
Overriding file templates?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Overriding file templates?


  • Subject: Overriding file templates?
  • From: Stonewall Ballard <email@hidden>
  • Date: Fri, 12 Mar 2010 12:31:02 -0500

Xcode 3.2 seems to be ignoring file templates that are in /Library and in ~/Library.

The release notes from 3.0 say:

The location for Xcode templates, scripts, and other support files has changed. These files were previously located in /Library/Application Support/Apple/Developer Tools/ and /Library/Application Support/Xcode/. They are now located in the developer directory’s Library/Xcode/ folder. Additionally, your own custom support files should now be placed in a folder of the appropriate name (e.g. "Project Templates") in any of the following locations:
		/Library/Application Support/Developer/3.0/Xcode/
		/Library/Application Support/Developer/Shared/Xcode/
		~/Library/Application Support/Developer/3.0/Xcode/
		~/Library/Application Support/Developer/Shared/Xcode/

I've tried putting my own "C and C++" templates in the Shared folders, but they're not seen by Xcode. I have to edit the ones in /Developer to get my changes to appear.

Is there a way to override these without editing the templates in /Developer?

I was pleased to see that I could override the CPlusPlus.xctxmacro using a copy in ~/Library/Application Support/Developer/Shared/Xcode/Specifications/, so I hope that the file templates can be overridden too.

 - Stoney

--
Stonewall Ballard
email@hidden           http://stoney.sb.org/

 _______________________________________________
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: Overriding file templates?
      • From: Bill Garrison <email@hidden>
  • Prev by Date: Answer: Bison with Objective-C Semantic Actions? Works
  • Next by Date: 3.2 documentation window twitches the find string.
  • Previous by thread: Answer: Bison with Objective-C Semantic Actions? Works
  • Next by thread: Re: Overriding file templates?
  • Index(es):
    • Date
    • Thread