V Volker Member Jan 10, 2013 #1 Enhancement request (I think): is it possible to use the plsql beautifier as a standalone program or with special command line options? thanks, Volker
Enhancement request (I think): is it possible to use the plsql beautifier as a standalone program or with special command line options? thanks, Volker
Marco Kalter Administrator Staff member Jan 11, 2013 #1 Yes. You can use the "BEAUTIFY FILE | OBJECT" command in a Command Script. This script can be executed through PL/SQL Developer from the Windows Command Line.
Yes. You can use the "BEAUTIFY FILE | OBJECT" command in a Command Script. This script can be executed through PL/SQL Developer from the Windows Command Line.
V Volker Member Jan 11, 2013 #1 I tried Code: plsqldev.exe nologon commandfile="c:\beautify.plsql" test.sql with beautify.plsql as Code: SET BEAUTIFIERRULES "C:\temp\PLSQLLayout.br" BEAUTIFY %1 PLSQLDeveloper starts an loads the file test.sql. But the file will not beautified and saved; PLSQLDeveloper is open and waits.
I tried Code: plsqldev.exe nologon commandfile="c:\beautify.plsql" test.sql with beautify.plsql as Code: SET BEAUTIFIERRULES "C:\temp\PLSQLLayout.br" BEAUTIFY %1 PLSQLDeveloper starts an loads the file test.sql. But the file will not beautified and saved; PLSQLDeveloper is open and waits.
Marco Kalter Administrator Staff member Jan 11, 2013 #1 You cannot pass parameters to the command script. A script like this would work: Code: SET BEAUTIFIERRULES "C:\temp\PLSQLLayout.br" BEAUTIFY test.sql EXIT APPLICATION
You cannot pass parameters to the command script. A script like this would work: Code: SET BEAUTIFIERRULES "C:\temp\PLSQLLayout.br" BEAUTIFY test.sql EXIT APPLICATION
V Volker Member Jan 11, 2013 #1 Starting plsqldev with nologon was an other mistake. with userid=... the script runs perfectly. thx