• 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: XCode 3 auto-indent (syntax-aware indenting)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 3 auto-indent (syntax-aware indenting)


  • Subject: Re: XCode 3 auto-indent (syntax-aware indenting)
  • From: Kurt Bigler <email@hidden>
  • Date: Fri, 14 Nov 2008 00:40:13 -0800
  • Thread-topic: XCode 3 auto-indent (syntax-aware indenting)

Thanks, this info led to a fix for my auto-indent problem.

The specifics were different from the suggestion to change a certain key
binding from line-feed to return however.

I have my own variation on the metrowerks key bindings, which fixed a couple
dozen things that were wrong with the provided bindings (from xcode 2
anyway).  In my bindings "Insert Newline and Indent" was already set to the
return symbol.  But I set it to something else and back again, clicked
Apply, and now it works!

Thanks again for the reference.  I did not find that thread because "indent"
was spelled "intent" in the subject line and I did a subject-line search in
my personal archives of this list.

-Kurt Bigler


on 11/13/08 7:13 AM, Jeffrey Oleander <email@hidden> wrote:

> There were some helpful postings on this subject a while back, IIRC.
>
> Xcode -> Preferences -> Indentation -> Syntax-aware indenting
>
> and
> Xcode -> Preferences -> Key Bindings -> Text Key Bindings
>
> message archives:
> http://www.cocoabuilder.com/archive/bydate/xcode
> "syntax-aware" indenting
>
> Here's a sampling of the more enlightening ones I spotted:
> http://www.cocoabuilder.com/archive/message/xcode/2007/5/22/13529
> http://www.cocoabuilder.com/archive/message/xcode/2007/12/8/18055
> http://www.cocoabuilder.com/archive/message/xcode/2008/5/3/21419
> http://www.cocoabuilder.com/archive/message/xcode/2008/5/2/21373
>
> As I recall, one of the problems is that there's more than
> one consensus on how it "should" work, and the straight
> preference settings don't quite allow people to do a simple
> menu select amongst the different common practices, but still
> leave a lot of flexibility by allowing us to select and/or
> set various details of the behavior.  But some of the
> changes that were made a couple minor releases ago
> to make it work better for those of one school broke it
> for adherents to the other schools.
>
> File a bugreport saying precisely how you want it to be able
> to work for you, and giving a couple examples of how things
> "should" be indented
> http://bugreport.apple.com/


 _______________________________________________
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: 
 >Re: XCode 3 auto-indent (syntax-aware indenting) (From: Jeffrey Oleander <email@hidden>)

  • Prev by Date: Re: Determining which processes are utilizing the disk?
  • Next by Date: xcode error and warning display...
  • Previous by thread: Re: XCode 3 auto-indent (syntax-aware indenting)
  • Next by thread: Re: Xcode 3.0 and new SCM features
  • Index(es):
    • Date
    • Thread