Print Thread
Page 1 of 2 1 2
standalone beautifier
#13854 04/05/04 03:35 PM
Joined: Jan 2003
Posts: 46
J
Member
OP Offline
Member
J
Joined: Jan 2003
Posts: 46
Is it possible to use pl/sql developper to format pl/sql code from the command line ?

I don't want to buy a license of Quest Formatter Plus.

Re: standalone beautifier
#13855 04/05/04 10:30 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
This is on the list of enhancement requests (you're not the first to ask).


Marco Kalter
Allround Automations
Re: standalone beautifier
#13856 03/15/06 09:59 PM
Joined: Mar 2006
Posts: 11
Latvia
A
Member
Offline
Member
A
Joined: Mar 2006
Posts: 11
Latvia
Hi!

I see you've thought about this feature since 2004 or may earlier. What's going on in this direction? Are you still planning to provide us with this feature?

My company is your customer and we've just faced with the problem that no command-line formatting utility is available on the market (at least good enough utility =)). That's sad =(

Re: standalone beautifier
#13857 03/15/06 11:07 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
The "beautify" and "set beautifierrules" commands have been added to the Command Window to support this (see chapter 7.3 in the User's Guide). This allows you to run a script that beautifies multiple objects from the Command Window, or from the Windows Command Prompt (by using the commandfile=[script] parameter).


Marco Kalter
Allround Automations
Re: standalone beautifier
#13858 03/16/06 01:56 PM
Joined: Mar 2006
Posts: 11
Latvia
A
Member
Offline
Member
A
Joined: Mar 2006
Posts: 11
Latvia
I was talking about pure command-line utility that can be used as a part of any command-line based process such as build, cvs submission etc.

Re: standalone beautifier
#13859 03/17/06 08:47 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
This is possible. For example:

plsqldev.exe userid=scott/tiger commandfile=beautify_all.pdc

In the beatify_all.pdc script you can end with an EXIT APPLICATION command to terminat PL/SQL Developer after running all beautify operations.


Marco Kalter
Allround Automations
Re: standalone beautifier
#13860 03/28/06 01:47 PM
Joined: Mar 2006
Posts: 11
Latvia
A
Member
Offline
Member
A
Joined: Mar 2006
Posts: 11
Latvia
OK... Honestly, it looks fuzzy... and funny =] But ok.

But what about DDL formatting?

How is it possible to format DDL statements such as CREATE TABLE?

Re: standalone beautifier
#13861 03/28/06 10:08 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
The PL/SQL Beautifier (as the name suggests) only beautifies PL/SQL. It does not know DDL commands.


Marco Kalter
Allround Automations
Re: standalone beautifier
#13862 03/29/06 09:46 PM
Joined: Mar 2006
Posts: 11
Latvia
A
Member
Offline
Member
A
Joined: Mar 2006
Posts: 11
Latvia
Expected?

Re: standalone beautifier
#13863 03/30/06 08:09 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
Huh?


Marco Kalter
Allround Automations
Page 1 of 2 1 2

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.091s Queries: 14 (0.056s) Memory: 2.5587 MB (Peak: 3.0430 MB) Data Comp: Off Server Time: 2024-05-18 09:36:10 UTC
Valid HTML 5 and Valid CSS