Code folding is a feature of some text editor and integrated development environments allowing the user to collapse sections of a source code file while working in other parts of it. This allows a software developer to manage larger amounts of code within one window, without getting lost in a morass of complexity. A folding point is typically a Method (computer science) or function but can also be an entire Class_%28computer_science%29 or even as small as an Control_flow block or comment section. (See also text folding and Folding editor.)
Recent versions of the
Open source text editor Vim (text editor) and the Java (programming language)
IDE Eclipse (computing) offer
highly-configurable support for code folding. Microsoft s Visual_Studio_.NET and the
KDE text editor Kate (text editor) offer code folding as well.