title: IntelliJ IDEA one-line function formatting
body: <p>IntelliJ keeps formatting this:</p>
  
  <pre><code>public void addElement(Element elem) {
      this.elements.add(elem);
  }
  </code></pre>
  
  <p>into this:</p>
  
  <pre><code>public void addElement(Element elem) { this.elements.add(elem); }
  </code></pre>
  
  <p>I prefer the multi-line formatting. How can I tell this to IntelliJ? I have unchecked the following boxes in Settings -> Editor -> Java -> Wrapping and Braces</p>
  
  <ul>
  <li>Control statements in one line</li>
  <li>Simple blocks in one line</li>
  <li>Simple methods in one line</li>
  </ul>
  
  <p>Didn't help.</p>