简体   繁体   English

Eclipse将包组织到文件夹层次结构中

[英]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? 我在Eclipse项目中有一堆软件包,它们的名称如下:edu.xxx.proj.app edu.xxx.proj.demo edu.xxx.proj.utils Eclipse中有没有办法自动将它们折叠成文件夹结构? 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. 从那里选择“hierarchal”,这应该照顾它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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