Moving packages eclipse

后端 未结 6 1232
萌比男神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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-01 09:26

    if you have current package:

    • com.insect.fly

    and would like to add subpackage to it, then renaming will solve the purpose e.g.

    • com.insect.fly.mosquitto

    However, eclipse do not should it in nested style. Just do Package Explorer > click on v button on the pane next to minimize > package presentation > Hierarchical

    Hope that SOLVES !!

提交回复
热议问题