Hi,

 

Don’t know if this is considered a bug…

 

I tried renaming a class from MyClass to YourClass.  First of all, Refactor | Rename won’t work because IDEA attempts to rename without regards to packages.  For example, it tries to rename com.whatever.MyClass, MyClass, and com.whatever.somewhere.MyClass, etc.  I can’t do a Refactor | Move either because it assumes same class name.  So I did the traditional renaming by typing over the class name myself.

 

When I save the file, however, it did not rename the actual filename.  Shouldn’t it do that?  It is possible for this to be a feature for the next release (if it doesn’t a bug)? 

 

So basically:

1)       can Refactor | Rename work for class as well, with the contextual knowledge of the package of this class? and

2)       can IDEA save the file with the name of the class (case-sensitively)?

 

Platform: W2K, Release 2.5, JDK 1.3.1_01

 

Thanks,

Mike Liu

 

Reply via email to