Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: for the plan.

Jump to: navigation, search

FAQ How do I stop the Java editor from showing a single method at once?

Activate the editor area, and then click the toolbar button labeled Show Source of Selected Element Only.

People sometimes click this button by accident and end up stuck in a state in which the Java editor will show only a single method or field at once. This feature of the Java editor makes it much easier to work in large Java files. By focusing on a single method at once, you have a much less cluttered editor area. Note that you can still view the entire file when in this state by deselecting the selected element in the Outline view. Smalltalkers will recognize this as one of the many innovations Eclipse inherited from its non file-centric Smalltalk IDE ancestors.

This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.

Back to the top