Beautifier bug, when formatin a function in a Package

UPeter

Member²
Hallo

i have a bug, when i use the beautifier for one function in a package. It always delete a CR/LF at the end of the marked funktion.
You can try it with the funtion test.

sample:
create or replace package test is

-- Author : UPE
-- Created : 09.08.2007 16:16:04
-- Purpose :

-- Public function and procedure declarations
function test return varchar2;

end test;
/
create or replace package body test is

-- Function and procedure implementations
function test return varchar2 is
begin
null;
return(1);
end;

begin
-- Initialization
null;
end test;
/
 
Hallo
this is the Package Bodi after 6x push on the buatifier.

CREATE OR REPLACE PACKAGE BODY test IS

-- Function and procedure implementations
FUNCTION test RETURN VARCHAR2 IS
BEGIN
NULL;
RETURN(1);
END;

BEGIN -- Initialization NULL;END test;
 
Hallo
i found the problem.
I have the problem, whenn i have in the Beautivier Rules - Genarl: checked "Use Tab Character", when it is not checked the error dosn't appear.
I hope you can reproduce it now.
 
Back
Top