- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Picking up Java refactors in Scala code
Fri, 2009-07-03, 17:43
Scala Tool Developers,
My team and I need to refactor some Java interfaces upon which several
of our Scala projects depend. I have seen that IntelliJ's plugin has
some support for this (e.g. renaming classes or methods in Java
correctly renames usages in Scala), but I haven't seen any support for
this in the Eclipse Scala Plugin using the normal Eclipse renaming
tools. Is there another way to do this in Eclipse, or is this currently
a missing feature? If it's a missing feature, are there plans for its
implementation for the Eclipse plugin? Are there other tools that
provide support for Java->Scala refactoring?
Thanks,
Sam Reid
On Fri, Jul 3, 2009 at 5:42 PM, Samuel Robert Reid wrote:
> My team and I need to refactor some Java interfaces upon which several of
> our Scala projects depend. I have seen that IntelliJ's plugin has some
> support for this (e.g. renaming classes or methods in Java correctly renames
> usages in Scala), but I haven't seen any support for this in the Eclipse
> Scala Plugin using the normal Eclipse renaming tools. Is there another way
> to do this in Eclipse, or is this currently a missing feature?
It's a missing feature.
> If it's a missing feature, are there plans for its implementation for the Eclipse
> plugin? Are there other tools that provide support for Java->Scala
> refactoring?
Very much so. Possibly for 2.8.0, but most likely in a release soon after that.
Cheers,
Miles