Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2700

Re: Eclipse: Folding Code Blocks More Specific Than Methods?

Newsgroups comp.lang.java.help
Date 2013-05-02 12:35 -0700
References <klu7km$ja7$1@dont-email.me>
Message-ID <01c2d15e-aedd-4271-ab9b-8fc3768ac38e@googlegroups.com> (permalink)
Subject Re: Eclipse: Folding Code Blocks More Specific Than Methods?
From Lew <lewbloch@gmail.com>

Show all headers | View raw


Steve wrote:
> I'm new to Eclipse.
> 
> I haven't found a way to fold blocks of code in Java smaller than a method.

Page-down.

> I have a legacy project to maintain with huge and frequent nested 
> conditionals. Refractoring is not an option at this point.

Get used to reading messy code.

Seriously - this is better, stronger and more sustainable than relying on a plugin.

> I searched StackOverflow, there was some mention of a plugin called
> Coffee Cup which enhances Eclipse code folding, but the Google site 
> where it is hosted said the project is no longer being developed and > 
> there were no downloads to download.
> 
> Can anyone suggest an alternative?

Yeah. Hard work.

> I already have a better IDE, but I want to get used to using Eclipse for 
> a while because it seems to be an industry standard.

Concentrate on the task you have to solve and not the IDE you're using.

Eclipse isn't necessarily the best IDE out there. Yes, it is commonly used, as 
are, for example, NetBeans and IntelliJ. I don't know that it requires any depth 
of knowledge to use Eclipse effectively. Personally I use it the same way as any 
other IDE and try not to rely too much on Eclipse-specific features.

I also never fold code. Comments occasionally, but not code. Really, just learn to 
read the code. So it's tough. It's easier than tarring roofs.

-- 
Lew

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Eclipse:  Folding Code Blocks More Specific Than Methods? Steve <tinker123@gmail.com> - 2013-05-02 13:30 -0400
  Re: Eclipse:  Folding Code Blocks More Specific Than Methods? Joerg Meier <joergmmeier@arcor.de> - 2013-05-02 20:30 +0200
  Re: Eclipse:  Folding Code Blocks More Specific Than Methods? Lew <lewbloch@gmail.com> - 2013-05-02 12:35 -0700
    Re: Eclipse:  Folding Code Blocks More Specific Than Methods? Steve <tinker123@gmail.com> - 2013-05-02 17:59 -0400
  Re: Eclipse:  Folding Code Blocks More Specific Than Methods? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-05-02 15:12 -0700
    Re: Eclipse:  Folding Code Blocks More Specific Than Methods? Steve <tinker123@gmail.com> - 2013-05-03 09:23 -0400
      Re: Eclipse:  Folding Code Blocks More Specific Than Methods? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-05-03 11:32 -0700
        Re: Eclipse:  Folding Code Blocks More Specific Than Methods? Steve <tinker123@gmail.com> - 2013-05-03 16:53 -0400
          Re: Eclipse:  Folding Code Blocks More Specific Than Methods? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-05-03 20:46 -0700

csiph-web