The project aims to provide an IDE independent refactoring engine that can be integrated into IDEs and other tools.
master
BranchesTags
Add a new organize imports mode that keeps the user's grouping. Until now, the full organize imports always threw out all existing imports and inserted the new ones. With the new RecomputeAndModify mode, user's import layout is preserved as good as possible. This is also useful when organize imports is used by another refactoring, e.g. Move Class.
| Name | Date | Rev. | Commit message |
|---|---|---|---|
| examples | |||
| org.scala-refactoring.feature | |||
| org.scala-refactoring.library | |||
| org.scala-refactoring.update-site | |||
| .gitignore | |||
| build.sh | |||
| build_p2_repo.sh | |||
| LICENSE | |||
| pom.xml | |||
| README |
README
================================================================================ The Scala Refactoring Project -- www.scala-refactoring.org ================================================================================ Welcome to the Scala Refactoring project! 1. Project Layout -------------------------------------------------------------------------------- The project is organized as follows: the main project is the library, the feature and update-site projects are only needed when the library is used as a plug-in for Eclipse. The examples directory contains two demos: - diy is an example of how the library can be used to build new refactorings. - editor is a simple swing editor that integrates the refactorings. ├── pom.xml ├── build.sh ├── build_p2_repo.sh ├── org.scala-refactoring.library │ ├── build.properties │ ├── META-INF │ ├── pom.xml │ └── src │ ├── doc │ │ ├── latex │ │ │ └── ... │ │ └── svg │ │ └── ... │ ├── main │ │ └── scala │ │ └── ... │ └── test │ └── scala │ └── ... ├── examples │ ├── org.scala-refactoring.diy │ │ ├── pom.xml │ │ ├── README │ │ └── src │ │ └── main │ │ └── scala │ │ └── org │ │ └── scala-refactoring │ │ └── ExplicitGettersSetters.scala │ └── org.scala-refactoring.editor │ ├── pom.xml │ ├── README │ └── src │ └── main │ └── scala │ └── org │ └── scala-refactoring │ ├── EditorUi.java │ └── RefactoringEditor.scala ├── org.scala-refactoring.feature │ ├── build.properties │ ├── feature.xml │ └── pom.xml └── org.scala-refactoring.update-site ├── index.html ├── pom.xml ├── site.xml └── web 2. Building -------------------------------------------------------------------------------- We use Maven (minimum version is 3 because we use Tycho) to build the project: > mvn -Dscala.version=2.9.0 package creates all the artifacts, except for the documentation, which needs to be built separately. For different versions of Scala, take a look at the build.sh script. A separate P2 repository can be built using the build_p2_repo.sh script. 3. License -------------------------------------------------------------------------------- The project is licensed under the Scala license, see the LICENSE file for details.