32

I've been searching high and low for an answer. Thanks.

Paul Blaine
  • 435
  • 2
  • 6
  • 9
  • 1
    I assume you want a hierarchical presentation. See here: http://stackoverflow.com/questions/3915961/how-to-view-hierarchical-package-structure-in-eclipse-package-explorer – Mark Peters Jul 01 '11 at 21:46
  • 2
    This might help noobs like me. I was searching for, "how to create nested packages in java". This answer perfectly explains that packages are unrelated in java: http://stackoverflow.com/questions/26509219/nested-packages-in-java. So in eclipse, just right click on src folder> New> Package. Then in name, type for example `utils.file` (assuming u have created `utils` package and want to nest `file` under it) – gnsb Jan 20 '16 at 11:06

1 Answers1

67

Open the view menu in Package Explorer. There you can change Package Presentation from Flat to Hierarchical. I guess this is what you're looking for.

phlogratos
  • 13,234
  • 1
  • 32
  • 37