title: DataGrip: How to chop long 'returning' part?
body: <p>I have the following problem with formatting a PostgreSQL query in Datagrip (and also in all other JetBrains products regarding PG queries):</p>
  <pre class="lang-sql prettyprint-override"><code>update some_table
  set some_column = 42
  where id = 42
  returning val_a as &quot;valA&quot;,
            val_b as &quot;valB&quot;,
            val_c as &quot;valC&quot;,
            val_d as &quot;valD&quot;,
            val_e as &quot;valE&quot;,
            val_f as &quot;valF&quot;,
            val_g as &quot;valG&quot;;
  </code></pre>
  <p>When I now use the built-in SQL formatter, DataGrip produces this:</p>
  <pre class="lang-sql prettyprint-override"><code>update some_table
  set some_column = 42
  where id = 42
  returning val_a as &quot;valA&quot;, val_b as &quot;valB&quot;, val_c as &quot;valC&quot;, val_d as &quot;valD&quot;, val_e as &quot;valE&quot;, val_f as &quot;valF&quot;, val_g as &quot;valG&quot;;
  </code></pre>
  <p>You see what the issue is: All returned values are in one line (it even ignores my max-line-length setting). I tried different settings in my IDE but to no avail. Note that for now, I don't care if the returned <code>val</code>s are indented or aligned or whatever, I just want the query to be &quot;readable&quot;.</p>
  <p>Looking forward to a solution and thanks in advance!</p>