I see some very strange requests for beautifier enhancements (some of which aren't even consistent within the request). Figure I'll throw mine in and hope for the best.
Select statement: Align equal signs in where clause, left align keywords, argument lists follow keywords on new line and indent two spaces, DO NOT PUT COMMA IN FRONT! PLEASE! Why people are still using capital letters is beyond me when IDE's utilize syntax highlighting (we're not in kindergarten anymore people).
Decode statements: Align beginning and ending parenthesis in same column. One space should always follow a comma.
Procedure/Function declarations: Always align parenthesis in same column as the letter "p" in procedure. Parameter list starts on new line with one space beyond first parenthesis. Align the modes. Align the datatypes. Keyword "is" follows last parenthesis on new line. DO NOT PUT COMMA IN FRONT! PLEASE!
Select statement: Align equal signs in where clause, left align keywords, argument lists follow keywords on new line and indent two spaces, DO NOT PUT COMMA IN FRONT! PLEASE! Why people are still using capital letters is beyond me when IDE's utilize syntax highlighting (we're not in kindergarten anymore people).
Code:
select
column1,
column2,
column3,
column4
from
table1,
table2,
table3
where
table2.column2 = table1.column1
and table3.column3 = table2.column2
Code:
select
decode(column1, '1', 'January',
'2', 'February',
'3', 'March',
'4', 'April',
'5', 'May',
'6', 'June',
'7', 'July',
'8', 'August',
'9', 'September',
'10', 'October',
'11', 'November',
'12', 'December',
null
)
from
table1
Code:
procedure upd_beautifier
(
pi_parameter1 in varchar2,
pi_parameter2 in varchar2,
pi_parameter3 in varchar2,
po_parameter4 out varchar2,
pio_parameter5 in out varchar2
)
is
...