Top "Folding" questions

Code folding is a feature of some text editors and IDEs that allow some text to be temporarily hidden or "collapsed" in order to hide detail.

Java equivalent to #region in C#

I want to use regions for code folding in Eclipse; how can that be done in Java? An example usage …

java c# eclipse folding
Excel Create Collapsible Indented Row Hierarchies

I would like to create indented collapsible row hierarchies in Excel for my spreadsheet. I have used group function but …

excel rows folding
how to implement regions/code collapse in javascript

How can you implement regions a.k.a. code collapse for JavaScript in Visual Studio? If there are hundreds of …

javascript visual-studio folding code-regions
notepad++ user defined regions with folding

I can't figure out how to configure notepad++ to display regions for user defined keywords. I have a big trace …

configuration notepad++ folding regions
What is the recommended way to use Vim folding for Python code

I am interested in enabling code folding in Vim for Python code. I have noticed multiple ways to do so. …

python vim folding
Notepad++ fold all tags by default?

I have a huge XML code that I keep adding to. It has about 13.465 lines of code, and a LOT …

xml notepad++ folding
Confusion about vim folding - how to disable?

When I open the file it looks like this: or even this When I open all folds, they are closed …

vim vi folding
Fold function in vim

Is there any way or tools to fold function in vim, like Visual Studio or Eclipse?

vim folding
How can I automatically fold all functions in a file with vim?

At first, I use the set foldmethod=marker, and move the cursor to the { of one function, use the zf% …

vim folding
How to implement a list fold in Java

I have a List and want to reduce it to a single value (functional programming term "fold", Ruby term inject), …

java collections functional-programming folding