Re: code format template?
Re: code format template?
- Subject: Re: code format template?
- From: Ethan Tira-Thompson <email@hidden>
- Date: Sun, 12 Jul 2009 18:40:03 -0400
Where are the project templates for Xcode installed? If I change these, will the corresponding projects made change too? Or will the settings under "Xcode Preferences | Indentation" always override them?
You can make new templates (i.e. modified versions of the standard templates) I believe it's a matter of creating a directory like so: /Library/Application Support/Developer/Shared/Xcode/File Templates/$MY_CUSTOM_TEMPLATES
(Or ~/Library/... for just one user)
Then create $TEMPLATE.pbfiletemplate directories which contain the template file as well as a TemplateInfo.plist.
For an example, I have a script which installs template files for commonly used classes in our project:
-Ethan
|
_______________________________________________
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