This is one feature I am not too sure about. As I have CE as my favourite editor, this is not a feature I am used to using. Besides, there are languages where code folding is not very doable. However, I also use Eclipse, and code folding is one of the features found there. At first, I found it very annoying, but I have gotten used to it, and have sort of learned to live with it. I definitely think this should be an option; turn it on if you like it, turn it off if you don't.

There's no doubt that this should be included, given the tons of requests for it. I know that I personally wouldn't even consider an another editor if it wasn't capable of this. Nearly every editor released in the last 3+ years can do this.

At first, I found it very annoying, but I have gotten used to it, and have sort of learned to live with it. I definitely think this should be an option; turn it on if you like it, turn it off if you don't.

What is there to live with? If you don't want your code folded, don't click on the little fold buttons/markers/whatever. It so happens that I never use code folding, but it never annoys me when it is available. I find it extremely easy to not click on the fold thingies (though I should mention I am not an Eclipse user, and the folding I am familiar with is little plus and minus signs in the margin, between the text area and the line numbers--maybe some other schemes are more intrusive).

However, I believe it would be easy to make a fold-disabling option. The easiest might be to have a setting which hides the markers. For me, the most important setting to have is one which allows all files to be opened with blocks already fully expanded, though I think this is the typical out-of-the-box behavior for applications which have folding.

For people who actually use folding, maybe they would like to have more complicated preferences, like "open all files bigger than 1000 lines with code maximally folded" or "open all files with top-level blocks expanded, but fold the rest" or something like that.

What is there to live with? If you don't want your code folded, don't click on the little fold buttons/markers/whatever.

Sorry, wrong choice of words - blame it on my not-so-fluent English. The thing is, when I first noticed this in Eclipse, I actually did not choose code folding, it just happened. So, what I have to do, is to unfold the code, even though I didn't ask for code folding in the first place. By all means, let's have code folding, but don't make it automatic.

I think eclipse (and visual studio for that matter and most java ides) use automatic folding for code that "you should not normally touch". That means usually code automatically generated by the ide and comments.I do not really find this bad, as it lets me know exactly where I should start my custom code.

KjeBja, I think I'm just now understanding what you're saying. Are you saying you wouldn't want a file to open with the code already folded? If so, I agree 99%. My 1% reservation would be an option to have it open folded--or even better--if it could remember what you had folded last time you opened the file.

It could store the code-folding information along with the bookmark info... wherever that ends up.

actually I think you can tell eclipse what to fold in the options. it's the most user customizable app I've ever seen, but (and here's the plug), as far as IDE's go, I think NetBeans has the most features.

Hi I'm kinda new so if this is a dumb comment I'm sorry . I don't know if you guys have ever used LEDBeta a latex editor I know CE could handle Latex code. One nice feature I've seen there is it highlights the left border of the lines you've edited since the last save. It does it unobtrusively along the column where the plus/minus signs sit.It also only numbers when a carriage return key is used(sometimes anoying too)admittedly this would be a bit useless for C code(except highly conditioned if statements) but might prove to be a nice feature. I'd make this kind of thing an option somewhere. (just saw now the highlighting feature isn't shown in the screen shots)

If you click on a bracket { then press ctrl+} the pointer will move to the closing bracket. So CE already has the ability to detect groups of code...shouldn't be too much harder to implement the folding part.

I'm new on this forum.I use Crimson Editor to edit Progress 4GL files.Currently 1000 lines of "if if then then if then else end" and so on.Crimson Editor has the best syntax coloring for this language but...