Problem with autocomplete of overloaded procedures

I have a package with the following specification:

SQL:
create or replace package test_schema.test_package
authid current_user
is

  procedure send_all
           (p_update    in boolean
           ,p_send      in boolean
           ,p_data      in boolean default true
           ,p_statuses  in boolean default true
           );

  procedure send_all
           (p_update            in boolean default true
           ,p_send              in boolean default true
           ,p_process_wod       in boolean default true
           ,p_process_wod_bank  in boolean default true
           ,p_process_uod       in boolean default true
           ,p_process_wop       in boolean default true
           ,p_process_fk        in boolean default true
           ,p_process_wod_sts   in boolean default true
           ,p_process_uod_sts   in boolean default true
           ,p_process_wop_sts   in boolean default true
           );
end test_package;

When I try to write the following anonymous block:

SQL:
begin
  test_schema.test_package.send_all(p_update => true
                                   ,p_process_wod => false
                                   ,
end;
/

and activate code assistant by the keyboard shortcut (code assistant automatic activation is disabled in my configuration), then PL/SQL Developer always shows the list of parameters of the first overload. It happens after each comma, even if I selected for the previous line the second overload of the procedure. I'm not sure if it's caused by disabling the automatic activation of the code assistant, but I have the filling, that it used to worked right in the PL/SQL Developer 15.
 
Last edited:
Did you select the second overloading by clicking on the selection button at the bottom of the Code Assistant? This works for me for the example package specification you included above. After selecting the second overloading once, the Code Assistant will stay with this overloading when typing a comma for subsequent parameters.

This should not have changed between 15.0 and 16.0.
 
Mouse is an evil. I use keyboard. I'm selecting overload by pressing Alt + Left/Right arrow when Code Assistant is open. What I've changed for sure between 15.0 and 16.0 is disabling automatic Code Assistant pop-up.
 
Last edited:
I see! When using the keyboard the selected overloading is indeed not preserved for the next parameter. We'll fix it.
 
Back
Top