• 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: code format template?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: code format template?


  • Subject: Re: code format template?
  • From: Rick Mann <email@hidden>
  • Date: Sun, 12 Jul 2009 10:41:36 -0700

I'm pretty sure if you change the templates, you'll get what you want. However, they'll probably get overwritten next time you install a new Xcode.

I hate the default templates, too.

On Jul 11, 2009, at 17:56:20, William Squires wrote:

Hi!
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?


What I'd like is for the boilerplate code to have the following formatting

- (void)appWillTerminate:(UIApplication *)application
{
}

instead of
_ (void)applicationWillTerminate:(UIApplication *)application {

}

which is what I get now. In other words, I want the open curly brace to always be on a new line, not at the end of some other line. Is there a (combination of) settings under "Syntax-aware indentation" that will produce this?
Thx



_______________________________________________ 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
  • Follow-Ups:
    • Re: code format template?
      • From: Ethan Tira-Thompson <email@hidden>
References: 
 >code format template? (From: William Squires <email@hidden>)

  • Prev by Date: code format template?
  • Next by Date: Re: code format template?
  • Previous by thread: code format template?
  • Next by thread: Re: code format template?
  • Index(es):
    • Date
    • Thread