Moving packages eclipse

后端 未结 6 1290
萌比男神i
萌比男神i 2021-01-01 08:57

Maybe a stupid question but I have two packages in eclipse and now I would like to move the one package into the other for better structure.

Now I tried move but tha

6条回答
  •  无人及你
    2021-01-01 09:34

    If you have com.company.foo and com.company.bar, and want to move foo into bar, then just rename com.company.foo to com.company.bar.foo.

    If you package happens to have subpackages, tick Rename subpackages to move the subpackages as well.

提交回复
热议问题