Inprise
540 pts. | Feb 19 2009 6:03AM GMT
HI,
I need to understand the clever ways to format the PL/SQL ,not shortcuts …
Inprise
540 pts. | Feb 19 2009 7:03AM GMT
Hello ,
I found sqlinform a online version for formatting.
But is there direct means to get it properly done in sql developer itself
pls share ur thoughts
Carlosdl
29770 pts. | Feb 19 2009 2:01PM GMT
I tried sqlinform, and I found it pretty similar to the sql formatter in Sql Developer (ver 1.5 or above). What exactly would you want to be able to do in Sql Developer that is possible in sqlinform but not in sql Developer ?
Inprise
540 pts. | Feb 20 2009 10:13AM GMT
BEGIN .. END blocks and IF .. then checks indentation within the block..
Carlosdl
29770 pts. | Feb 20 2009 4:07PM GMT
I’m using version 1.5.3 and it does that, and much more.
You just need to select the desired code, and press Ctrl+F7 (this is the default shortcut), and it will automatically apply format including alignment and indentation, line breaks, white spaces, and others.
The formatter options are under Tools->preferences->Database->Sql Formatter.
If you are using an older version, I would recommend to download the latest.
Inprise
540 pts. | Feb 23 2009 4:11AM GMT
thanks yes even i am using 1.5.3,anyhow will check my formatting preference to have good formatting of my code
thanks once again.






