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?

X-Received by 10.224.36.66 with SMTP id s2mr12746962qad.6.1367523347275; Thu, 02 May 2013 12:35:47 -0700 (PDT)
X-Received by 10.182.153.225 with SMTP id vj1mr138979obb.15.1367523347217; Thu, 02 May 2013 12:35:47 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!m7no459154qam.0!news-out.google.com!y6ni0qax.0!nntp.google.com!m7no459147qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.help
Date Thu, 2 May 2013 12:35:46 -0700 (PDT)
In-Reply-To <klu7km$ja7$1@dont-email.me>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T
NNTP-Posting-Host 69.28.149.29
References <klu7km$ja7$1@dont-email.me>
User-Agent G2/1.0
MIME-Version 1.0
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>
Injection-Date Thu, 02 May 2013 19:35:47 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.help:2700

Show key headers only | 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