Missing "/" at the end of a Package-File

wb

Member²
In Version 5.0 there was a "/" at the end of a Package-File.
In Version 5.1 not!

We need it for our shell-Scripts.
Is the something in the Preferences what I haven't find yet, or is it not possible to switch it on again?

Thanks,
wb
 
There is still a trailing slash in 5.1 when I try this. Are you using the Program Window? Is there a package specification and body in this file?

------------------
Marco Kalter
Allround Automations
 
We seperate the Files in a Heder- and a Body-File. So there is only a Header or a Body.

wb
 
Are you using the Program Window? Can you send this file to me?

------------------
Marco Kalter
Allround Automations
 
I use Version 5.1.1.672 and do the following steps:

1. File/New/Program Window/Blank
2. Type:
CREATE or REPLACE PACKAGE test
is
function foo (nothing number)
return boolean;
end;
3. File/Save as..

--> in this case you get a "/" at the end.
But:

1. File/New/Program Window/Blank
2. Type:
blabla
3. File/Save as..

in Version 5.0.2.500 (and earlier) you get a "/" at the end but in 5.1.1.672 you get no "/"

So only if the PL/SQL-Developer thinks that there is a Package it puts a "/" at the end.

We have some Packages with a big comment bevor the "create or replace"-Statement (up to 800 lines). In this case the PL/SQL-Developer thinks it is no package and puts no "/" at the end.

In the older versions it only depends on the windowtype.
 
We'll fix this.

As a workaround you could remove some of the comment, or place it inside the package.

------------------
Marco Kalter
Allround Automations
 
Originally posted by mkalter:
We'll fix this.

As a workaround you could remove some of the comment, or place it inside the package.


Hello again,
till now we used an older Version, where the slash depends on the windowtype. But now we have in a new Database the ORA-01026 (multiple buffer of size > 4000 in the bind list) Problem. So we must use a newer Version. It is not possible to delete the comments! They are our history. It is possible for you to add something in the Preferences, to get the old behaviour?

---
W. G. Beckmann
TEAM Paderborn
 
Maybe we can add something for the upcoming 5.1.4 release.

------------------
Marco Kalter
Allround Automations
 
Back
Top