Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Java editor import/method collapsing
Java editor import/method collapsing [message #325810] Wed, 27 February 2008 21:48 Go to next message
Eclipse UserFriend
Originally posted by: nazdak9.gmail.com

Hi,

In the main Java editor in eclipse, there is a column on the left hand side that allows sections of code to be collapsed down to a single line (the light blue circles with the minus signs).

When you open a file, the section where all the imports are is <i>automatically</i> collapsed. I was wondering if there was any way of disabling this.

Cheers.
Re: Java editor import/method collapsing [message #325812 is a reply to message #325810] Thu, 28 February 2008 00:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Shane" <nazdak9@gmail.com> wrote in message
news:31453151.19741204148924818.JavaMail.root@cp1.dzone.com...
> Hi,
>
> In the main Java editor in eclipse, there is a column on the left hand
> side that allows sections of code to be collapsed down to a single line
> (the light blue circles with the minus signs).
>
> When you open a file, the section where all the imports are is
> <i>automatically</i> collapsed. I was wondering if there was any way of
> disabling this.

It's a setting. Window -> Preferences -> Java -> Editor -> Folding. You
can control initial folding for a variety of different entities, including
"Imports".
Re: Java editor import/method collapsing [message #325816 is a reply to message #325812] Thu, 28 February 2008 02:58 Go to previous message
Eclipse UserFriend
Originally posted by: nazdak9.gmail.com

Thank you very much.
Previous Topic:Show view, but not from a workbench page
Next Topic:Save handler when editing files not in workspace using eclipse default editor
Goto Forum:
  


Current Time: Sun Oct 06 14:15:56 GMT 2024

Powered by FUDForum. Page generated in 0.02753 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top