Opened 11 years ago

Last modified 9 years ago

#535 new enhancement

Preview window for extract subroutine

Reported by: szabgab Owned by:
Priority: major Milestone:
Component: Refactoring Perl 5 Version: 0.45
Keywords: refactoring, usability Cc: philip.g.potter@…


I am always afraid of using these magic tools for code refactoring. If I could see up-front what a certain action will do, that would improve my confidence by a lot.

So I'd like to see a way to preview the changes the extract subroutine will do.

I am not sure if I want to see the new code, a unix-like textual diff, a side-by-side diff of some external tool or something totally different but any one of these could be a huge step forward in gaining confidence.

Change History (3)

comment:1 Changed 11 years ago by rhebus

  • Cc philip.g.potter@… added

Totally agree. I think a side-by-side diff or an in-place colour-coded diff would be good. The way that trac displays the effect that patches will have is probably the model I'd use.

comment:2 Changed 10 years ago by zenogantner

  • Keywords refactoring usability added

comment:3 Changed 9 years ago by szabgab

  • Component changed from advanced perl tools to Refactoring Perl 5
Note: See TracTickets for help on using tickets.