Fold

The shortcut keys for Fold are alt+- and =.

Click the - or + to the right of the line number to complete the folding and unfolding.

Top Fold menu

In the menu [Goto Fold], there are more ways to play with folding.

Fold - 图1

Editor Fold Menu

As shown in the figure below, right-click in the line number area to see the other folds menu.

Fold - 图2

Fold Other Region

“Fold Other Region”, The shortcut key is Alt+Shift+o.

For example, when editing the source code of this markdown document, you can press Alt+Shift+o to fold all other paragraphs and focus on the writing of the current paragraph.

Fold - 图3