we are using eclipse and unless the Package Explorer pane is taking up a large amount of real estate all you can see are the package names of the class, eg com.xyz.abc. Is there to only display the last meaningful package name so that the java class name can easily be seen?
Do you mean "layout flat" vs. "layout hierarchical"? Layout is switchable off the dropdown menu attached to the inverted black triangle (rightmost control at the top of the window).
An IDE is no substitute for an Intelligent Developer.
Joined: Apr 26, 2005
No, I mean having the layout flat but removing the redundant packages, this is illustrated below:
Currently in eclipse it displays the java source prepended with their packages, eg: com.myCompanyName.project.package1 com.myCompanyName.project.package2 com.myCompanyName.project.package3 com.myCompanyName.project.package4 com.myCompanyName.project.package5
But can eclipse display it as: package1 package2 package3 package4 package5
Window/Preferences/Java/Appearance/compress all package name segments
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus