title: groovy list initialization indentation in Eclipse
body: <p>I have a problem with how Eclipse does indentation of a List initialization statement when I use automatic code formatting.</p>
  
  <p>The problem is that if the list is long enough Eclipse folds each value:
  hence:</p>
  
  <pre><code>def list = ["aaa", "bbb", "ccc", "ddd", "eee" ]
  </code></pre>
  
  <p>becomes:</p>
  
  <pre><code>def list = [
      "aaa",
      "bbb",
      "ccc",
      "ddd",
      "eee"
  ]
  </code></pre>
  
  <p>as far I understand groovy plugin inherits most of the formatting fro the Java style, but I found no option to control this folding in the Java formatter preferences.
  Any suggestion?</p>