Code folding
Code folding or code folding denotes a function in editors, especially in modern integrated development environments to group logically related sections of code such as classes or methods in so-called Folds and wrinkles. You can see the sections then simply show and hide as if you fold a piece of paper to hide certain rows.
One of the first programming languages that support this feature and known did was GFA - BASIC.
The code folding has nothing to do with the similar-sounding convolutional codes.
Programs with support for code folding
Development environments
Free Software
- Anjuta
- Aptana
- Code :: blocks
- CodeLite
- Eclipse
- KDevelop
- Lazarus
- SharpDevelop
- NetBeans, version 4.1
- Qt Creator
- Dev- C , Version 4.1.1.0
- MonoDevelop
Proprietary software
- Delphi, version 8
- C Builder, Version 2006
- Visual Studio. NET
- JBuilder
- JCreator
- PL / SQL Developer
- Xcode
- Cubic IDE
Editors
- Emacs and XEmacs
- Vim
- Jed
- Programmer's Notepad
- Kate ( KDE), KWrite and Related
- Sublime Text
- SciTE, Geany ( partial), Notepad , and others based on Scintilla editor or IDE
- UltraEdit
- TextMate
- jEdit
Custom Editor -wrinkle
Some editors also allow to define custom folds. Here are some examples:
- Vim, using the example of C code:
Int function () / / { { { { '' Code '' } / /} }} When folded, this section looks like this:
- 5 lines: int function () / / --------------------------- Instead of { { { }}}, and other labels can be used.
- NetBeans:
/ /
# region Description source # endregion Visual Basic. Net