title: IntelliJ-Scala format list elements same line when using ::
body: <p>when building a nested object which gets a list as its imputs using <code>::</code> for building the list the auto-format is misleading:</p>
  <pre><code>   val sentimentExpectedSchema = StructType(
          StructField(&quot;metadata&quot;, StructType(
            StructField(&quot;type&quot;, StringType, nullable = false) :: 
              StructField(&quot;job_run_time&quot;, LongType, nullable = false) ::
              StructField(&quot;version&quot;, LongType, nullable = false) :: Nil
          )) :: Nil
        )
  </code></pre>
  <p><strong>Someone new to the code will have the first impression that <code>job_run_time</code> is nested to <code>type</code>, which is not true.</strong></p>
  <p>I would expect the following format-rule to be used:</p>
  <pre><code>   val sentimentExpectedSchema = StructType(
          StructField(&quot;metadata&quot;, StructType(
            StructField(&quot;type&quot;, StringType, nullable = false) :: 
            StructField(&quot;job_run_time&quot;, LongType, nullable = false) ::
            StructField(&quot;version&quot;, LongType, nullable = false) :: Nil
          )) :: Nil
        )
  </code></pre>
  <p><strong>In this way, it is pretty much obvious that <code>job_run_time</code> and <code>type</code> are in the same nesting level.</strong></p>
  <p>Furthermore, if one builds the <code>Array/List</code> &quot;normally&quot;, it will be properly formated:</p>
  <pre><code>
        val sentimentExpectedSchema = StructType(Array(
          StructField(&quot;metadata&quot;, StructType(Array(
            StructField(&quot;type&quot;, StringType, nullable = false),
            StructField(&quot;job_run_time&quot;, LongType, nullable = false),
            StructField(&quot;version&quot;, LongType, nullable = false)
          )))
        ))
  </code></pre>
  <p><strong>Is there a way to customize my IntelliJ configuration to properly format lists built using <code>::</code> as it formats with <code>Array()/List()</code>?</strong></p>