Eclipse在Project Explorer项目归组及分模块显示

时间:2024-07-22 13:35:14

普通项目:

1、【Package Explorer】->【filter】->【Top Level Elements】->【Working Sets】

2、【Package Explorer】->【右键】->【New】->【Other】->【Java】->【Java Working Set】

3、输入Working Set的Name时,把项目Add/Add All到新建的Working Set中,OK保存。

4、【Package Explorer】右边小三角->【Selected Working Set】,选中刚新建的那个Working Set即可。

Maven项目:

Package Explorer】右边小三角->【Projects Presentation】->【Hierarchical】

参考:

http://www.2cto.com/kf/201304/200546.html