Refactoring enhancements

rbrooker

Member³
Hi,

I am refactoring quite a bit at the moment. It's a great feature ... but.

Is there a way you could refactor all parameters of a procedure/ function at the same time?

eg:

Code:
PROCEDURE my_procedure
(
    pi_parameter1 IN VARCHAR2
   ,pi_parameter2 IN VARCHAR2
   ,pi_parameter3 IN VARCHAR2
) IS
BEGIN ...

i can right click on pi_parameter1 and refactor it to a new name, thats cool. The procedures I am changing at the moment have many parameters that need changing. If you could popup a box that had a grid on it like:

Code:
Existing name:   New name:
  pi_parameter1
  pi_parameter2    pi_newparameter2
  pi_parameter3    pi_newparameter3

In this case, parameter 1 would not change but 2 and 3 would be updated to the new values.

This would save me a bunch of time at the moment. You could do the same with variable definitions too.

thanks.
 
Back
Top