• 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 Indentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code Indentation


  • Subject: Re: Code Indentation
  • From: Gwynne Raskind <email@hidden>
  • Date: Thu, 28 Jan 2010 15:02:14 -0500

On Jan 28, 2010, at 1:42 PM, David Penton wrote:
> I almost hate to ask this, it's such a tiny thing.
>
> I have the indentation settings as I want them, except for one thing. When I create a new class or function or whatever, I get the opening brace on the same line like so:
>
> @interface Blah : NSObject {
> }
>
> I always format my code like this:
>
> @interface Blah : NSObject
> {
>
> }
>
> How would I get xcode to do it my way?


That's not a tiny thing; to me Xcode doing that for every type of block breaks my flow of typing. It slows me down quite a bit, since I usually do something like "else<RETURN>", and then have to go back and undo because I forgot (again) to type "else<ESC><RETURN>" to prevent Xcode from autocompleting both incorrectly and unwarranted. I would desperately love considerably more control over the autocompletion; at minimum the ability to tell it "only complete identifiers and method/function calls, NEVER language constructs"

-- Gwynne

 _______________________________________________
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 Indentation
      • From: Jens Alfke <email@hidden>
    • Re: Code Indentation
      • From: David Penton <email@hidden>
References: 
 >Code Indentation (From: David Penton <email@hidden>)

  • Prev by Date: Code Indentation
  • Next by Date: Re: Code Indentation
  • Previous by thread: Code Indentation
  • Next by thread: Re: Code Indentation
  • Index(es):
    • Date
    • Thread