Eclipse Adds and Removes Lines Between Methods [message #170412] |
Tue, 12 September 2006 06:30 |
Eclipse User |
|
|
|
Originally posted by: hal.thresholddigital.com
This may seem like a small thing, but it really bugs me. I'm using Eclipse
on Ubuntu Linux (yes, latest version, updated when updates available
through Ubuntu).
Before I write my comments and while I'm still testing a class, I always
leave one blank line between methods and two blank lines between blocks or
sections of methods. This helps me visually cue in to where I need to go
and with all the methods folded, it's quick for me to find what I need.
I've been doing this for a long time and I'm used to this pattern.
Eclipse will, at different times, add more blank lines between methods and
remove all blank lines between methods. Is there any way I can get Eclipse
to stop doing this?
Thanks!
Hal
|
|
|
Re: Eclipse Adds and Removes Lines Between Methods [message #170426 is a reply to message #170412] |
Tue, 12 September 2006 06:54 |
Eclipse User |
|
|
|
Originally posted by: tom_eicher.ch.ibm.com
Hi Hal,
the formatter profile (Java > Code Style > Formatter preference page)
allows you to specify how many blank lines should be preserved by the
formatter.
HTH, tom
Hal Vaughan wrote:
> This may seem like a small thing, but it really bugs me. I'm using Eclipse
> on Ubuntu Linux (yes, latest version, updated when updates available
> through Ubuntu).
>
> Before I write my comments and while I'm still testing a class, I always
> leave one blank line between methods and two blank lines between blocks or
> sections of methods. This helps me visually cue in to where I need to go
> and with all the methods folded, it's quick for me to find what I need.
> I've been doing this for a long time and I'm used to this pattern.
>
> Eclipse will, at different times, add more blank lines between methods and
> remove all blank lines between methods. Is there any way I can get Eclipse
> to stop doing this?
>
> Thanks!
>
> Hal
|
|
|
Re: Eclipse Adds and Removes Lines Between Methods [message #170484 is a reply to message #170426] |
Tue, 12 September 2006 12:00 |
Eclipse User |
|
|
|
Originally posted by: hal.thresholddigital.com
Tom Eicher wrote:
> Hi Hal,
>
> the formatter profile (Java > Code Style > Formatter preference page)
> allows you to specify how many blank lines should be preserved by the
> formatter.
>
> HTH, tom
Found it.
Seems to help, but I'll see in the long run. I'm still getting used to code
folding that really works and just the idea of everything an IDE gives in
general.
Thanks!
Hal
|
|
|
Powered by
FUDForum. Page generated in 0.07927 seconds