title: How do I prevent Xcode from inserting a new line before a curly bracket after hitting return?
body: <p>In Xcode if I have:</p>
  <pre><code>foo}
  </code></pre>
  <p>and I insert my cursor just before the closing curly bracket and hit return, I get:</p>
  <pre><code>foo
  
  }
  </code></pre>
  <p>What I would both expect (and desire) is to get:</p>
  <pre><code>foo
  }
  </code></pre>
  <p>It feels like I've tried every single preference setting in the Text Editing pane to change this behavior with no success.</p>