Reputation: 5107
I have view like
+ controller
+ framework
+ model
- view
Calc.java
Main.java
+ view.main
+ view.newpackage
But i want that sub backages are collapsed into main packages like:
+ controller
+ framework
+ model
- view
Calc.java
Main.java
+ main
+ newpackage
or
+ controller
+ framework
+ model
+ view
Know anybody is it possible in Eclipse and/or NetBeans? Thank you
Upvotes: 4
Views: 1092
Reputation: 3309
For Netbeans (by @MadProgrammer in the comments)
Right click anywhere in the white space of the Projects tab, select View Java Packages as and select your option
For Eclipse (by @Smutje in the comments)
How to view hierarchical package structure in Eclipse package explorer
Upvotes: 6