It is simple to deploy the correct answer already given by user3280555.
Keyboard shortcut for this - Ctrl + Numpad_divide
If you want to do the same with the mouse:
This is what is meant by the “Folding Symbol” in the editor:

As soon as you right-click on it, just uncheck the box: Folding > Enable Folding
arun
source share