Thursday, January 20, 2005

Eclipse Quick Outline Pop-up

: "Quick Outline Pop-up
January 19, 2005
Eclipse's Outline view is a nice feature that lets you see an outline of your Java class. With an outline, you see the methods, attribute, and imports of a class without the noise of method implementations. The Outline view has a tool bar that allows you to:

Sort
Hide Fields
Hide Static Fields and Methods
Hide Non-Public Members
Hide Local Types
The Outline view also has a Link with Editor feature (selected from the twirly in the tool bar) that will position the Java editor on the selected outline element. The Outline view also has a filter that allows you to omit elements.
You can make the Outline view active by pressing the Shift-Alt-Q then 'O' keys.
But Eclipse 3.0 created a faster method of displaying the outline of a class. Control-O pops up a modal Quick Outline window. I find the outline pop-up handy for quickly moving between methods in my source. You can do the same with the Outline view, but it requires several mouse movements. But now, with the new alternative, I can quickly press Control-O, cursor to the desired method, and press Enter. The pop-up goes away and the source is positioned to the selected method."

No comments:

Post a Comment