[Troubleshoot] I cannot see my entire source file, why?

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of Riyad Kalla Riyad Kalla 10 years, 4 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #263935 Reply
    Profile photo of Riyad Kalla
    Riyad Kalla
    Member

    This feature, where you only see the active code element you are editing is often confused with code folding. This feature is a standard Eclipse editor feature that can be toggled on or off using the preference at Window->Preferences->Java->Editor as shown below:

    When the feature is turned on, you will only see the code element you are currently working on (e.g. the particular method you have your cursor in, or the selected method in the Outline view), when the feature is turned off, you will see the entire source file. The default is off, but sometimes folks will accidentally turn it on and, not surprisingly, be very frustrated to find that they can no longer see their whole file.

    It is more likely to be accidentally turned on from a toolbar button. This toolbar button looks like this:

    However, note that for eclipse luna (and MyEclipse 2015, based on luna) and, possibly, some earlier releases, this button may not be available (due to an eclipse problem with perspective customization).

    • This topic was modified 1 year, 9 months ago by Profile photo of support-tony support-tony. Reason: Typos and updates
    Attachments:
    You must be logged in to view attached files.
Viewing 1 post (of 1 total)
Reply To: [Troubleshoot] I cannot see my entire source file, why?

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.