Beautifier

Reto

Member
It would be nice to beautify an function-declaration (or procedure) through the beautifier to this:

FUNCTION function_name
( param1 IN datatype
, param2 IN OUT datatype
, param3 IN datatype
) RETURN datatype
IS
-- my declaractions
BEGIN
-- my code
END function name;

=> after the function name a new-line
=> first parameter on the same line as the opening parenthesis
=> between semicolon and parameter name 1 space
=> the return-clause on the same line as the closing parenthesis
=> is on a seperate line (that helps to seperate the declaration of the function variables)
=> the END will be followed by the name of the function.
 
Back
Top