What do you call this?

I want to organize my code, and be able to click that little arrow and shadow certain things onto it, take this for example, I want to hide it under my comment # Words like this:

I use visual studio code and I'm working with python.
Some keywords that might be related: Bookmarks, whatever popovers are, and 'ribbons'.
CodePudding user response:
This is called "code folding".
To do it with arbitrary blocks of lines of codes, there is no built-in functionality to do this as far as I know, but you should be able to achieve that with the maptz.regionfolder extension or other similar ones.
