Request: refactoring (revisited)

Claus Pedersen

Member³
If you have an implicit declared record variable the option Refactoring, Rename Item..., is disabled:
Code:
FOR cur_emp IN (SELECT empno, sal FROM emp) LOOP
  cur_emp.sal := cur_emp.sal * 1.05;
  <...>
END LOOP;
Is it possible to make this work? The renaming should of course just take place in the scope of the FOR loop (the code could have other parts where cur_emp was used in another context).

Also, the variable marking functionality does not work for implicitly declared variables. Is it possible that this could work in a future release?
 
Implicitly declared variables are not recognized. I have added this to the list of enhancement requests.
 
Back
Top