Rename refactoring doesn't cross Java <-> Scala in mixed java/scala projects
This is with:
Scala plugin version: 2.0.0.beta11-2_09-201110031011-3a97f5e
Eclipse version: 3.6.2.v201102101200
This is in a mixed java/scala project with circular dependencies between java and scala source.
I first create a java project and add my java source to the build path. I then right-click on the top level in the package explorer and do Scala -> Add Scala nature. I then add my Scala source directory to the build path. The project compiles okay. I then do a rename refactoring on a Scala class. The references in Scala files get updated, but not in the java files.
Likewise, if I rename a class or method in Java that is referenced by the Scala code, references in the Scala code are not updated.
Obviously, the rename refactoring would be a lot more useful if both these cases worked properly!
Scala plugin version: 2.0.0.beta11-2_09-201110031011-3a97f5e
Eclipse version: 3.6.2.v201102101200
This is in a mixed java/scala project with circular dependencies between java and scala source.
I first create a java project and add my java source to the build path. I then right-click on the top level in the package explorer and do Scala -> Add Scala nature. I then add my Scala source directory to the build path. The project compiles okay. I then do a rename refactoring on a Scala class. The references in Scala files get updated, but not in the java files.
Likewise, if I rename a class or method in Java that is referenced by the Scala code, references in the Scala code are not updated.
Obviously, the rename refactoring would be a lot more useful if both these cases worked properly!
Leave a comment
on 2012-12-04 06:01 *
By Iulian Dragos
Assigned to changed from login to Mirko Stocker
Status changed from New to Accepted
on 2012-12-04 06:03 *
By Iulian Dragos
Version changed from 2.0.0-beta11-29 to 2.0.0-final-28
Eclipse version changed from Helios to Helios - Eclipse 3.6
Status changed from Accepted to Duplicate