simple bug on Beautifier

Grego

Member
Hello Allround,

There's a bug on Pl/sql beautifier (I'm on v8) where every word between [] has its [] characters lost, like:

begin
[test];
end;

After beautifier becomes:

begin
teste;
end;

Since here at work we use a lot of [] on our code, that is a big problem for us, having to put all those brackets back again.
We use them as susbstitution words which become variables, funtions, etc.

Any workaround suggested or chance of fixing that?

Thanks,

Paulo.
 
Hello!

Build 1514 tried to fix this, I was so happy for a moment, but it's still not perfect!

On my example,
begin
[test];
end;

After build 1514 it beatifies to:
begin
[ test ];
end;

Look at the spaces after the brackets!

Can you fix this on next build? Its almost done! lol

Thanks for your effort!

Paulo.
 
I am just curious, syntactically this is not correct in pl/sql, right?

begin
[test];
end;

Do you have a post processor which replaces these with valid sql or whatever?

 
Right, this is not correct, but like I said on my first message, we use them as substitution variables. Every word between brackets brings a whole function in that place.

I understand PL/SQL Developer should not treat that since its not a pl/sql syntax, but the fact that it deletes the brackets, I consider a bug, it should at least just ignore them!
Even because I think the beautifier should never delete any characters of any kind, this is a danger. Existing this bug, who guarantees it doesnt delete real code!
 
Back
Top