here some stuff from Alex:
- Switch between Spec and Body only with keys. How can I switch between Body and Spec only with the Keys in Version 6.2
- Open Spec-Object at cursor I define a Cursor in the Spec of a Package. Then I make a Proc. In the body. Finally I try to go to this cursor via context menu “Go to Definition”. This doesn’t work in Version 6.2:
See Alex002.jpg and Alex002.jpg
Here my code:
CREATE OR REPLACE PACKAGE TESTPCK
But in Version 5.5 it works fine
CURSOR c IS
SELECT Sysdate dat from dual;
END; – Package spec
CREATE OR REPLACE PACKAGE BODY TESTPCK
FOR r IN c LOOP
- Ghost-Spec entry after change declaration and
I define a Procedure in a Package than I use the use the context menu in the code explorer
and put the declaration with “Publish in Spec in the Spec. Next I change the declaration of my Procedure like this:
PROCEDURE TEST(invar VARCHAR2))
Now the code explorer shows me that the proc. Is only in the body. When I now use “Publish in Spec” again,
I have two declarations of my proc. in the Spec. Trying to compile the Package I will get an error,
because of the ghost spec of the former version of my proc (PLS-00323).
In former Version 5.5 this couldn’t be happen, because after changing the declaration of the proc.
you first had to use “Unpublish in Spec.
Is there a reason to implement this in another way in Version 6.2?
Andre ( and Alex of of course )