New Eclipse hierarchical package presentation is partially broken

Viewed 496

With the new Eclipse release 2022-03 some (but not all) java projects changed appearance in the Project Explorer view. Although Package Presentation is set to Hierarchical, the Project Explorer view still displays long/full package names instead of showing them as a tree of sub-directories (see the screenshot)

enter image description here

I can't find any reference as to how to control this behavior. This also seems to be project specific as half of my existing projects in the same workspace do not exhibit this behavior and display the package hierarchy as expected like directories (see below)

enter image description here

I just can't find a way to control this.

1 Answers

It seems an Eclipse bug as referred by @greg-449.

Until a fix is provided, the following worked for me as workaround:

  • open the project properties
  • select "Project Natures"
  • remove "Eclipse Faceted Project Properties"
Related