title: Wrapping chained method calls on a separate line in Intellij for Java
body: <p>[Copied from]: <a href="https://stackoverflow.com/questions/6275785/wrapping-chained-method-calls-on-a-separate-line-in-eclipse-for-java">Wrapping chained method calls on a separate line in eclipse for Java</a></p>
  
  <p>For example, I have this:</p>
  
  <p><code>someObject.A().B().C();</code></p>
  
  <p>But I really want this:</p>
  
  <pre><code>someObject.A()
            .B()
            .C();
  </code></pre>
  
  <p>I wanted to ask how to achieve that formatting in intellij. I was unable to achieve it. I want to use the same formatting given in <a href="https://stackoverflow.com/questions/6275785/wrapping-chained-method-calls-on-a-separate-line-in-eclipse-for-java/10446098#10446098">this answer</a>.</p>