Print Thread
Package/Typesv edit from context menu.
#58227 08/10/18 10:39 AM
Joined: Jun 2007
Posts: 61
Sheffield
I
Member
OP Offline
Member
I
Joined: Jun 2007
Posts: 61
Sheffield
When we right click on packages/types, we have the option to edit or edit/spec&body.

If it's the spec we've clicked on, then edit will open the spec, and if it's the body we've clicked it on then edit will open just the body.

If I have some [pl/]sql that uses a package, and I want to go to to the code, right click and edit will only open the spec.
It would be handy to have specific 'Edit Spec' and 'Edit Body' options available. Not a major issue, just something that always catches me out.
The same would be for type/type bodies.

So, perhaps on the context menu 'EDIT' should open up another level of menus offering the options mentioned above. View probably the same.

Many thanks.

Re: Package/Typesv edit from context menu.
IncredibleMrT #58231 08/11/18 08:18 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
If you right-click on a package name in some SQL or PL/SQL Code, both the "Edit" and "Edit Spec & Body" menu options are available.

Furthermore you can Ctrl-Left-Click to view or edit the specification or Ctrl-Right-Click to view or edit the body. A preference controls whether this is a "View" or "Edit".


Marco Kalter
Allround Automations
Re: Package/Typesv edit from context menu.
Marco Kalter #58233 08/13/18 11:17 AM
Joined: Jun 2007
Posts: 61
Sheffield
I
Member
OP Offline
Member
I
Joined: Jun 2007
Posts: 61
Sheffield
Thanks for the reply.
I'm aware of those options. I want, specifically, an option to edit JUST the body if possible.
Thanks


Last edited by IncredibleMrT; 08/13/18 11:17 AM.
Re: Package/Typesv edit from context menu.
IncredibleMrT #58234 08/13/18 11:17 AM
Joined: Jun 2007
Posts: 61
Sheffield
I
Member
OP Offline
Member
I
Joined: Jun 2007
Posts: 61
Sheffield
Sorry, if that sounded like a demand - it wasn't. I was just trying to be clear.

[quote=IncredibleMrT]Thanks for the reply.
I'm aware of those options. I want, specifically, an option to edit JUST the body if possible.
Thanks
[/quote]

Re: Package/Typesv edit from context menu.
IncredibleMrT #58238 08/14/18 09:03 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
As stated above, you can Ctrl-Right-Click on a package name in a source to view or edit the body. A preference controls whether this is a "View" or "Edit".


Marco Kalter
Allround Automations

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.038s Queries: 14 (0.016s) Memory: 2.5176 MB (Peak: 3.0431 MB) Data Comp: Off Server Time: 2024-05-18 13:58:30 UTC
Valid HTML 5 and Valid CSS