java按照文件类型排序,在Eclipse中的Project Explorer中按类型进行排序?

I recently upgraded to Helio SR2 and the sort order for the package explorer is now sorting by name no matter the type. Is there any way to specify the sort order?

Example

JAX-WS Web Service

Deployment Descriptor

Java Resources

pom.xml (File)

src (Folder)

main (Folder)

java (Folder)

webapp (Folder)

a.jsp (File)

b (Folder)

c.jsp (File)

WEB-INF (Folder)

z.jsp (File)

In the example above, the files and folders are not sorted by type and then sorted by name (like in Windows Explorer).

Expected

JAX-WS Web Service

Deployment Descriptor

Java Resources

src (Folder)

main (Folder)

java (Folder)

webapp (Folder)

b (Folder)

WEB-INF (Folder)

a.jsp (File)

c.jsp (File)

z.jsp (File)

pom.xml (File)

Previous versions were sorting it this way - I'm just not sure how to set it back.

解决方案

Double check you are not using "Project Explorer", it sorts alphabetically. BUT,

"Package Explorer" sorts files the way you want.

"Navigator" also sorts the way your asking and will show hidden files in OSX and Win folders.

You can access these views via Window->Show View->Other

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值