• 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: David Penton <email@hidden>
  • Date: Thu, 28 Jan 2010 15:21:10 -0500

On 2010-01-28, at 3:02 PM, Gwynne Raskind wrote:

> 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
>

I only want it to do this when I create a new file (class, etc.) Otherwise xcode is doing what I want. Code completion etc. works ok for me. It's more like this is a template thing, perhaps?

Best,

- Dave - _______________________________________________
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: 
 >Code Indentation (From: David Penton <email@hidden>)
 >Re: Code Indentation (From: Gwynne Raskind <email@hidden>)

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