Nifty Capabilities in Sun Java Studio Enterprise 8 Early Access, Part 2
This is part 2 of a blog series on the superb capabilities new in Sun Java Studio Enterprise 8 EA. As indicated in part 1, I owe Nathan Fiedler of the IDE's development team the input for this series. Take a bow, Nathan.
Navigator Window: Source Hierarchy at a Glance
In Sun Java Studio Enterprise 7, to view the structure of a source file, you choose a menu item--the editor toolbar. A slick redesign in Sun Java Studio Enterprise 8 now displays that structure in the Navigator window in the Project-File Explorer, in which the Members View shows the methods, constructors, fields, and inner classes of the currently selected source file.
Note these two enlightening visual cues:
- A lock icon to the left of a component name denotes that the component is private. No icon? The component is public.
- If you cursor over a component, a tool-tip display shows you the related Javadoc comments.
In Nathan's words: "Why display the source-file structure in a separate window? First, that window is always visible to you; no closing or opening is required. Second, it shows the components of the file selected in the Project-File Explorer even if that file is not open in the editor. I visit the Navigator every day to glimpse at the contents of a file before opening it. It's amazingly convenient!"
Stay tuned for part 3 please.