Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know that we can fold methods,if statement and ... .But I want to fold arbitrary part of code that is written in a method.I guess that in NetBeans we can do this:

// <editor-fold desc="describe what is in here">
Your code goes here...
// </editor-fold>

But now I'm developing in Eclipse.Here is a propose,but it did not work for me.Do you know any way to do that?

share|improve this question
    
Which version of Eclipse? How did that solution not work for you? Did you add the braces? Did you not see the - sign allowing you to collapse what was in between the braces? –  Karan Feb 12 '13 at 22:31
    
@Karan I'm using Eclipse Helios.I added braces and I did not see any sign(- or + ). –  hasanghaforian Feb 13 '13 at 7:21

1 Answer 1

up vote 3 down vote accepted

I found Coffee-Bytes plugin.I downloaded it from this link and here I found a guide for using it.You can see more details in these references:

stackoverflow
stackoverflow

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.