Beautifier - Procedure/Function comment

Niek

Member²
It seems that the IS is getting an extra space when a comment is just before the IS. Also the second and the third comment lines do get two extra spaces.

This is the original code:

Code:
PROCEDURE test
( p_id NUMBER
, p_name VARCHAR2
)
/*----------------------------------------------------------------------
   Procedure description
----------------------------------------------------------------------*/
IS
BEGIN
  NULL;
END;
And this is what the beautifier does:

Code:
PROCEDURE test
(
  p_id   NUMBER
 ,p_name VARCHAR2
)
/*----------------------------------------------------------------------
     Procedure description
  ----------------------------------------------------------------------*/
 IS
BEGIN
  NULL;
END;
I can remove the extra spaces before 'Procedure description' and beautify it again without any changes. But removing the spaces before the last '---..' line it will add the spaces again when you beautify it.
 
Back
Top