Results 1 to 2 of 2
  1. #1
    Addez is offline Senior Member
    Join Date
    Aug 2009
    Rep Power

    Default How can I save so the all my closed methods remain closed when exiting?

    Im using eclipse at the moment, and I got a main code part
    which is about 1000 lines.
    Now in eclipse I can click - at the side of a method declaration to make
    the whole method dicappear, all besides the method declreation.
    then I can click + at the side to see the whole method if I wish.

    Only problem is that once I shut down and opens eclipse again, those methods are open!
    How can I keep the methods closed?

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Rep Power


    Yes, that is annoying.
    Another related annoyance, if I have a large XML file open, and have scrolled down into the middle of the file to a specific point, restarting Eclipse the file is always back at the top of the file. I have really waste a lot of time finding my place again.

    One thing I have found is to just never exit Eclipse. To do so would mean I need to go make a pot of coffee while I wait for it to rebuild all the projects in the workspace.

    To work this in practically, I changed from Slackware Linux to Ubuntu Linux just so the suspend to RAM feature of my notebook now actually works. I guess if you use windows on notebooks this probably just works anyway.

    Or for desktop environments, going as far to run Eclipse inside a virtual machine, such as VirtualBox, so when I need to power off the desktop, I choose to suspend the virtual machine to save its state.

    Outside of eclipse, this kind of keep your system on or suspend/resume all the time seems to work well for most other services, such as test database and web server instances.

    But if its really a priority, i'm sure there is a facility on eclipse developer forum to submit this as a bug, enhancement, or feature request.

Similar Threads

  1. Replies: 1
    Last Post: 10-29-2009, 11:48 AM
  2. Exception : ResultSet is closed
    By nanimtech in forum JDBC
    Replies: 5
    Last Post: 08-06-2009, 03:11 PM
  3. pause until JFrame is closed.
    By Tamu in forum Advanced Java
    Replies: 8
    Last Post: 11-30-2008, 09:46 PM
  4. Socket Closed!
    By rameshraj in forum Networking
    Replies: 0
    Last Post: 05-06-2008, 11:48 AM
  5. Socket Closed!
    By rameshraj in forum Networking
    Replies: 0
    Last Post: 05-06-2008, 10:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts