I’ve simply been wondering what to call it. Also, does anyone know any extensions for VS Code that would let make custom ones, not simply the automade ones.
I’ve kept searching the web, but haven’t found anything. I have also found no leads as to what it might be.
2
Answers
In some editors, it’s called Code Folding.
VS Code user docs.
JetBrains user docs (and more user docs (about settings)).
Eclipse user docs.
Spyder user docs.
related question for Sublime Text.
Notepad++ user docs.
Vim wiki page.
Emacs wiki page.
In some, it’s called "collapsing" and "expanding" regions / "outlining".
Visual Studio user docs.
Xcode forum thread.
TextMate user docs.
This is code folding, and in python they can be controlled by
#region
and#endregion
.