This PR is dedicated to package renames, that are special for two reasons:
Associated package objects must be renamed together with their packages
Although not strictly required, package renames typically should be accompanied by associated directory renames
This PR takes care of both issues. Note that up until now there was no scala.tools.refactoring.common.Change that models moving files from one directory to another. scala.tools.refactoring.common.MoveToDirChange takes care of this. An associated PR for ScalaIDE, that takes advantage of the new API, can be found here.
This PR is dedicated to package renames, that are special for two reasons:
This PR takes care of both issues. Note that up until now there was no
scala.tools.refactoring.common.Change
that models moving files from one directory to another.scala.tools.refactoring.common.MoveToDirChange
takes care of this. An associated PR for ScalaIDE, that takes advantage of the new API, can be found here.Fixes #1002769.