Separate Saves for Package Body/Spec

dpbegi

Member
[version 5.03]
Is there any way to have PL/SQL Developer save the body and specification of a package into separate files? I have tried the following:

- "save as" a spec file type extension when in the spec tab. When I do this the body is appended into the saved file

- Opening only the specification with the right-click menu. This lets me just save the spec into a file, but there is no similar menu option to open only the body

Searched the forum messages but couldn't find anything...
Thanks.
 
There is no easy way to save them in separate files. You will have to copy the spec (or body) to a new, empty Program Window, save it, delete the spec (or body) from the original Program Window, and save that too.

Perhaps you can open the spec and body in 2 separate Program Windows to begin with? If you open the separate files from the file system this will automatically happen. If you open them from the Object Browser, you should simply not use "Open spec & body".

------------------
Marco Kalter
Allround Automations
 
I have created a plug in for PL/SQL Developer 5.1.1.672, which should be downloadable from the add-ons page very soon. With the next website update, Marco will upload this plug-in.
If you want to receive it earlier, you can drop me an email.

------------------
Check out: http://www.oracledeveloper.nl
 
The post is now 5 years old, but for me this point is just coming up (plsqldev 7.1).

How can I save spec and body in seperate files when I have open them in one window (Open spec & body).

Couldn't find the plugin from patch on the website.

Thanks for help.
 
Hello Mike,

thanks for quick reply. Find it, load it, worked (more or less).

But it's not you who develop the plugin? I send a mail to the author.

What is less?
Menu wasn't added under language german.lang, but worekd well under language none (english). Could I patch this? Is there a way to get it added in all languages?

When I use "Save Separate" I get a "Unable to create directory" (What directory? Never set one. Setting Preferences\Files\Directorie\Program Files did not help). "Save Separate As..." works fine.

Load separate works. But before you compile the tabs in the editor show a '?'. Changed to icon and package name after compilation.
 
Back
Top