简体   繁体   中英

Eclipse Organize Packages into Folder Hierarchy

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
                    |_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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM