> > What is the point of changing the name of the class in the tree view, but
> > not renaming the file? It just causes confusion as far as I can see.

> Isn't it confusing that it also does not automatically rename all
> references? Wouldn't it be even more confusing to show old class name in 
the
> structure when the classs alread has a new name??!
> BTW, Structure View shows BOTH class name and file name. What does 
confuse
> you?

What confuses me is:

1) IDEA 2.5 never did this as far as I can recall

2) When I saw it change the tree view automatically, I thought you had 
added an "auto-rename" system, which you haven't.

What I'm trying to say is, wouldn't it be REALLY cool if when you change 
a class name, IDEA says "Do you want me to perform a rename refactoring 
now?". This would be very very nice. I cannot think of any reason why you 
would want to change the name of a class but not its filename. It's like 
programming with intent, but factoring with intent. It's obvious what is 
happening � and IDEA already knows you are changing the name of a class. 
If you do not have structure view active, it becomes confusing because 
the source tree view shows the new name of the class, so does the source 
code, but the file editor tab � rightly � shows the filename which is the 
old name for the class. I just think it's a bit ugly.

Of course, multiple classes in the same source file, yes the view update 
should apply, but an automatic rename refactoring for all references for 
the main public class in the file would be nice wouldn't it?

Marc



_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to