Print Thread
Project "Open All Items" opens Spec only
#64432 02/10/23 10:29 AM
Joined: Apr 2020
Posts: 92
Z
zakko Offline OP
Member
OP Offline
Member
Z
Joined: Apr 2020
Posts: 92
Currently storing and re-opening DB packages in a project doesn't work as expected.

1. Open several packages from DB via objects browser with right click "View Spec & Body"
2. Save one or more of the opened packages in an existing project (Menu: Project > Add to Project)
3. Save, close project (and PL/SQL Developer), reopen project
4. Open package via project items with right click "Open item" or "Open all Items"

Observed behavior:
Only the spec of the repective package(s) is re-opened and displayed in edit mode.

Expected behavior:
The re-opened packages are displayed in "View Spec & Body" mode. The initial "opening mode" should be preseved, after adding a package to a project when reopening it later.

The same applies to Packages opened in "Edit Spec & Body" mode (in 1.).

Developer Version 15.0.3.2059 (64 bit)
Windows 10 Build 19045

Re: Project "Open All Items" opens Spec only
zakko #64435 02/13/23 09:30 AM
Joined: Aug 1999
Posts: 22,212
Member
Offline
Member
Joined: Aug 1999
Posts: 22,212
The type of an object in the project is either a package specification or package body. There currently is no option to to add both the specification and body as one project item.


Marco Kalter
Allround Automations
Re: Project "Open All Items" opens Spec only
zakko #64438 02/13/23 03:13 PM
Joined: Apr 2020
Posts: 92
Z
zakko Offline OP
Member
OP Offline
Member
Z
Joined: Apr 2020
Posts: 92
But this limitation is only db-related, right? If a package is opened from a file and added to a project, it can later be opened via project items to be perfectly displayed as spec and body.

This should be improved, because this limitation to "db-project-items" is not consistent and not obvious, too.

And how is it possible after opening e.g. via "View Spec & Body" from db to decide, whether the project item should be either spec or body?

If I do Project > Add to Project, I am not able to identify what exactly I put into the project. Switching between the spec and body tabs in the main package view doesn't change anything and for both the menu says after adding Project > Remove from Project. The project browser additionally states an unclear "Package ...".

Last edited by zakko; 02/13/23 03:31 PM.

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.036s Queries: 14 (0.014s) Memory: 2.5022 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-05-09 08:04:41 UTC
Valid HTML 5 and Valid CSS