Refactor doesn't work correct with folding

Roeland

Member³
Hi,

In a package:

Code:
create or replace package body Test_Refactoring is

  procedure RefactorMe is
  begin
    null;
  end;

  procedure FoldMe is
  begin
    RefactorMe;
  end;

end Test_Refactoring;
1) Fold procedure "FOLDME"
2) Refactor procedure "RefactorMe" (example "Done")

Result :

Code:
create or replace package body Test_Refactoring is

  procedure Done is
  begin
    null;
  end;

  procedure FoldMe is
  begin
    RefactorMe;
  end;
Done_Refactoring;
version 7.1.5.1397

Refactoring on the not folded text work goods though.
So I guess PL/SQL Dev refactors on folded text?
That should be easy to solve... ;)

Roeland
 
Still not fixed in V9 beta1.

This makes folding and refactoring at the same time useless and dangerous!
 
Back
Top