Spec & Body

D.

Member²
Not sure if this is a problem or a "feature", or whether it's just me being stupid:-

When I view a Package Spec and then decide it was really the Spec & Body I wanted, I choose "View Spec & Body", but the window that was opened with the spec does not change to now include the body too. It thinks about it, in that the window flashes and comes to the front focus, but no body appears. Is this a bug ?

You then have to close the window that was opened with the "Spec Only" in it, before getting another one with both Spec & Body.

Apologies if this has been asked before, or not a bug/quirk!

Cheers,
D.
 
That is indeed a somewhat unfortunate restriction. You can however explicitly open a separate package specification, or select "Add source to editor" when right-clicking on the package specification.
 
Marco,

You cannot "Add source to Editor" when the "Spec Only" window is the one which is active. This is what I ideally would have liked. Then the Spec & Body would be in the same window.

Instead, I need to open a new blank progam window, and "Add source to Editor" in that one.

D.
 
@Marco
When i use the "Add source to editor" when i have an other package open, PL/SQL Dev shows the DB-Source in Program-Windows, ok.
But i can edit it!?
In Preferences i use under Options
- Allow editing of DB Source -> not checked.

I think this is not a feature...
 
I notice that you cannot add a source to the editor if it is read-only. This restriction does not make sense if the editor source does not come from the file system. We'll change this.

If the editor is writeable, you can add the spec and body just fine.
 
>If the editor is writeable, you can add the spec and body just fine.

Well i can add it with no problem, but the DB-Source is writeable although i don't allow to edit a DB-Source in Preferences.
 
Back
Top