Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Close code loops
Close code loops [message #301958] Mon, 10 April 2006 02:41 Go to next message
Eclipse UserFriend
Originally posted by: gibson.nexgenstudio.com

Is there an option inside Eclipse where i can click on a symbol besides
code loops(while, if-else, etc etc) and close the loop?I have some loops
with long code inside and it's kind of troublesome to scroll past them
instead of closing them and then doing the scrolling which would be much
faster.
Re: Close code loops [message #302001 is a reply to message #301958] Mon, 10 April 2006 10:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: varavamu.yahoo.com

you are looking for the code folding feature. This is already present
within eclipse out-of-the-box.

hth,
Vijay

Gibson wrote:
> Is there an option inside Eclipse where i can click on a symbol
> besides code loops(while, if-else, etc etc) and close the loop?I have
> some loops with long code inside and it's kind of troublesome to
> scroll past them instead of closing them and then doing the scrolling
> which would be much faster.
>
Re: Close code loops [message #302018 is a reply to message #302001] Mon, 10 April 2006 12:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gibson.nexgenstudio.com

Thanks, how do i activate this feature?
Re: Close code loops [message #302048 is a reply to message #302001] Tue, 11 April 2006 01:08 Go to previous messageGo to next message
Eclipse UserFriend
Vijay Aravamudhan wrote:
> you are looking for the code folding feature. This is already present
> within eclipse out-of-the-box.

True - but it doesn't allow folding of control structures, only of
members and comments. Folding loops is not currently possible in eclipse.

-tom
Re: Close code loops [message #302130 is a reply to message #302048] Thu, 13 April 2006 00:18 Go to previous message
Eclipse UserFriend
Originally posted by: varavamu.yahoo.com

sorry - there's a plugin called Coffee bytes code folding plugin.

This plugin had the feature that you want ie folding loops - but
unfortunately (due to breaking API changes) - this doesnt seem to work
with 3.2 M6.

hth,
Vijay

Tom Eicher wrote:
> Vijay Aravamudhan wrote:
>> you are looking for the code folding feature. This is already present
>> within eclipse out-of-the-box.
>
> True - but it doesn't allow folding of control structures, only of
> members and comments. Folding loops is not currently possible in eclipse.
>
> -tom
Previous Topic:CVS Password location
Next Topic:Overriding deprecated method?
Goto Forum:
  


Current Time: Thu Jul 24 18:42:59 EDT 2025

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

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

Back to the top