Institute for
HSR

Scala

Scala

Institute for Software is a core contributor to the Scala IDE for Eclipse. The IDE's refactoring infrastructure and many implementations were implemented during a term project and master thesis by Mirko Stocker, and this effort is still ongoing. At the moment, the IDE supports the following refactorings:

  • Renaming of all identifiers in a program
  • Extract Local Variable to introduce an explaining variable
  • Inline Local Variable to eliminate an unneeded local variable
  • Extract Method to create a new method from a selection of expressions
  • Move Class to move around classes, traits and objects between packages
  • Organize Imports to remove unused imports and add required ones

Visit scala-refactoring.org for more explanation and screenshots. Besides the refactorings, IFS is also working on static code analysis for Scala code and quick fixes for the issues that were discovered.