beautifier inconsistencies

rbrooker

Member³
if, when beautifying procedures or functions, you have "one parameter per line" and "list at left margin" selected, and your function has only one parameter, the rules are not followed.

eg:


Code:
function getposfraction(p_employee# in number) return number;
    function getcommencedate(p_employee# in number, p_pos_fraction in number) return date;
gets beautified to :


Code:
function getposfraction(p_employee# in number) return number;
    function getcommencedate
    (
        p_employee# in number,
        p_pos_fraction in number
    ) return date;
instead of :


Code:
function getposfraction
    (
        p_employee# in number
    ) return number;
    function getcommencedate
    (
        p_employee# in number,
        p_pos_fraction in number
    ) return date;
thanks.
 
Richard,

I agree that it's inconsistent, but I can't imagine wanting to waste screen real estate by following your standard.

But as my mom always said, "there's no disputing taste". (Or did she always say "don't let the bastards grind you down"? I forget now! :-) )

If we're talking about new options, I'd like to be able to specify the column the parameters start in, not just the left margin (column 1).

For example, I'd like to see this:

Code:
PROCEDURE parents_main(
        appeal_code_in     IN appeals.appeal_code%TYPE,
        debug_flag_in      IN PLS_INTEGER := 0,
        test_max_recs_in   IN PLS_INTEGER := 100000,
        test_batch_size_in IN PLS_INTEGER := 1000);
Thanks,

Stew
 
Back
Top