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

后端 未结 7 976
暗喜
暗喜 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:55

    • ALT+SHIFT+R add underscore at end of package name, hit ENTER twice
    • ALT+SHIFT+R delete the underscore, ENTER twice

    Done if there are few packages.

提交回复
热议问题