开发者

Eclipse Organize Packages into Folder Hierarchy

开发者 https://www.devze.com 2023-03-14 17:37 出处:网络
I have a bunch of packages in an Eclipse project they have names like: edu.xxx.proj.app edu.xxx.proj.demo

I have a bunch of packages in an Eclipse project they have names like: edu.xxx.proj.app edu.xxx.proj.demo edu.xxx.proj.utils Is there a way in Eclipse to automatically collapse them into a folder structure? I would like them to be as follows on the workbench:

edu__
     |_xxx__
            |_proj__
                    |_app
                    |_demo
  开发者_StackOverflow中文版                  |_utils


Click the little down pointing triangle in the package manager and go to "package presentation". From there select "hierarchal" and that should take care of it.

0

精彩评论

暂无评论...
验证码 换一张
取 消