Jared Pearson
Jared Pearson

Reputation: 477

Sorting by type in Project Explorer in Eclipse?

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

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

Expected

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

Upvotes: 28

Views: 27179

Answers (3)

王子1986
王子1986

Reputation: 3609

you can uncheck the "Deployed resources" in custom view!

Customize View

uncheck

Upvotes: 3

Ravindra Gullapalli
Ravindra Gullapalli

Reputation: 9188

I did it in some other way as the given solution does not worked for me. I went to the customize view option as shown in

Customize View

and then wen to Content tab as shown in

enter image description here

and then unchecked the "Resources" check box.

Upvotes: 24

Cliff Ribaudo
Cliff Ribaudo

Reputation: 9039

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

Upvotes: 33

Related Questions