casteng / i-pascal

A free Object Pascal language plugin for IntelliJ IDEA
112 stars 33 forks source link

Rename refactor broken when only case changed #29

Closed jonathanfv closed 6 years ago

jonathanfv commented 6 years ago

Take this test unit:

unit Unit3;

interface

type
  TBug = class
    procedure Test;
  end;

implementation

{ TBug }

procedure TBug.Test;
begin

end;

end.

Put caret on declaration of Test, do Refactor -> Rename, and rename to "test". The implementation will loose the class name.

casteng commented 6 years ago

Fixed in 1.90