how to make Xcode indentation from beginning of previous line?

Posted by Mikkel on Stack Overflow See other posts from Stack Overflow or by Mikkel
Published on 2010-05-04T10:58:16Z Indexed on 2010/05/04 11:08 UTC
Read the original article Hit count: 271

Filed under:
|

ok, possibly insanely n00b question or something i have overlooked in Xcode prefs: On pressing return, in stead of Xcode's syntax-aware indentation doing smart indent from whatever brackets i've used on the previous line, how can I make it so Xcode indents just from the beginning of the previous line? From the picture below, first block of code is what i got, second block of code is what I want.

Visual representation: visual representation

© Stack Overflow or respective owner

Related posts about xcode

Related posts about indentation