Eclipse - How to “Change package declaration to …” across an entire project

后端 未结 7 998
暗喜
暗喜 2020-12-25 14:00

I\'ve just imported a large amount of source code into Eclipse and basically the package name is no longer valid (the code has been moved folders). Is there a way to select

7条回答
  •  悲哀的现实
    2020-12-25 14:49

    This should do the trick for you.

    Import all your files into the default package first and then drag them into the new package, JDT will do the refactoring and change the package declarations across the project.

提交回复
热议问题