Beautifier list format

matejj

Member²
I have a feature request regarding Beautifier

Beautifier has an option how to format Item lists. It has options
a) On one line
b) One item per line

I would like to have a seperate options for named notation and not named notation (I would like to have named notation in seperate lines, but not named notation in one line)

For example:
function_1(a=>1,
b=>2,
c=>3);
looks great, but
to_char(date,
'dd.mm.yyyy')
looks much better in one line.

Antoher example:
function_1(a=>1,
b=>2,
c=>3);
is ok, but
select...
where deptno in (1,
2,
3)
is not.
If you see another way that I could format this I am open to different solutions. (I thought about lists with one or two items in one line, but lists with more than 2 items in separate lines... but that doesn't solve second example)

I know that everyone thinks differently what is beautiful, but here are some of my thoughts.
 
Back
Top