I think that could be a dangerous thing.

Sure it's nice to have that but consider the situation if you've changed one 
or more of the files that are changed by the refactoring.  Users would soon 
blindly commit these files and think no more of it... while their commit 
could be breaking code because of other changes that have been made to one 
or more of the files.

If this functionality was implemented it probably should  be turned off by 
default _or_ IDEA should check the diff on the file and see if there are 
any more changes to a file other than those produced by the refactoring and 
then it could display a warning message.

Besides that, I think it's a neat idea :)

Kind regards,
        Stefan Freyr.

Adam Goldband wrote:

> I would love it, if say I was making a method name change that effected a
> whole batch of files (java, jsp, or whatever) if I could be prompted to
> commit all those files when I am done doing the refactoring.
> I often find it cumbersome to keep track of every place I made the
> change... so in most cases I would just like to be able to commit that
> change right then and there.
> 
> Thanks...
> 
> adam

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to