shift+rightClick on function/procedure

in version 12 the behaviour of shift+rightClick in a test window is different to in a program window. from the program window the focus changed to the related program window or opens the source of the database if not. from the test window allways a new edit window with the source of the database is openen regardless whether the source of the function/procedure/package is already open. this is confusing.

thanks a lot and kind regards from austria
raimund
 
I cannot immediately reproduce this. A Ctrl-Click on an object identifier from a Test Window goes to the existing Program Window where the object is defined if present, and opens a new Program Window if it is not yet present.

Can you provide an example where this fails?
 
The following files are stored in the same directory


-- do_test_1.prc
create or replace procedure do_test_1 is
begin
test_pkg.do_test_1;
end do_test_1;
/

-- test_pkg.pks
create or replace package test_pkg is

procedure do_test_1;

end test_pkg;
/

-- test_pkg.pkb
create or replace package body test_pkg is

procedure do_test_1
is
begin
null;
end do_test_1;

begin
null;
end test_pkg;
/

-- test_test_pkg_001.tst
PL/SQL Developer Test script 3.0
5
-- Created on 2017-12-05 by RAIMUND
declare
begin
test_pkg.do_test_1;
end;
0
0


I open all of them in the PL/SQL Developer (12.0.6.1835 Windows 7 professional 64 bit) compile the package and the procedure. Now I go to the test window and to a ctrl+rightClick on the 4th line "test_pkg.do_test_1" and an additional Window with the title "Edit SCHEMA.TEST_PKG@ALIAS" opens.

If I do the same in the procedure window the focus goes to the package body window.

I hope this helps.
 
Back
Top