Link to home
Create AccountLog in
Avatar of sam15
sam15

asked on

plsqlCodeForrmatterTool

I have some pl/sql code that is not formated well. lot od blank lines, no indentation, IFs not aligned, etcc...

Is there any nice tools out there that will format it nicely by selecting part of or the whole procedure.

The code also has lots of commented code for old logic. Is it good to leave this in ir get rid of it. Sometimes this helps to see the history of changes or going  back to old functionality.

I have TOAD and SQL NAVIGATOR and SQL*PLUS tools.
ASKER CERTIFIED SOLUTION
Avatar of Jeffrey Dake
Jeffrey Dake
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of sam15
sam15

ASKER

i dont have that one. but can you feed it a whole unformated stored procedure and it will gie you a nicely formatted code line by line?

i noticed each tool will format differently sometimes and some may not be very good.
It has always worked pretty well for me.  I am usually not putting in large pl/sql statements, but I would recommend trying it.