[MonoDevelop] Refactoring menu
charlie at pooleconsulting.com
Sat Dec 2 12:17:54 EST 2006
Some refactoring tools - resharper for example - offer the option
of renaming within strings and/or comments. Once you add that,
you have to have some sort of review capability for the user.
Additionally, once a superclass has been extracted, I may want
to use that superclass in some but not all places. This can be
done by finding all references and then changing them manually,
but it can also be done by a rename-with-confirmation facility.
However, using a rename-next, like an editor is only one way to
implement this. An alternative is to have a complete list of
what will be renamed with checkboxes to clear and set.
IMO, if you don't rename within strings or comments, the full
rename facility is very useful by itself. The rest could be
for a later release.
> -----Original Message-----
> From: monodevelop-list-bounces at lists.ximian.com
> [mailto:monodevelop-list-bounces at lists.ximian.com] On Behalf
> Of Jacob Ilsø Christensen
> Sent: Saturday, December 02, 2006 2:41 AM
> To: Paulo Aboim Pinto
> Cc: MonoDevelop-List
> Subject: Re: [MonoDevelop] Refactoring menu
> On 12/2/06, Paulo Aboim Pinto <esqueleto at tusofona.com> wrote:
> > > Maybe I am just confused, but that is not how the rename
> > > should work IMO. If you have e.g. a class, rename should
> rename the
> > > class and ALL references to it. You should not be able to decide
> > > which references to rename and which not to. It doesn't
> make sense
> > > to me. Is this what you mean?
> > You are right. That will be the usual feature. Maybe that should be
> > the default work and how it will work in the first release,
> but should
> > exist the "Rename Next" feature in the future.
> I just don't see when you will use that feature. I cannot see
> how it makes sense to rename e.g. only half of the references
> to some class.
> > This feature is just usability.
> > Regards
> > Paulo Aboim Pinto (Esqueleto)
> > Odivelas - Portugal
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
More information about the Monodevelop-list