Answers for "vs code collapse all"

CSS
30

collapse all code vscode

Use :
Ctrl + K + 0 to fold all 
Ctrl + K + J to unfold all
Posted by: Guest on October-21-2020
1

force collapse vscode

TypeScript/JavaScript: // #region and // #endregion


Other lang:
C#:                    #region and #endregion
C/C++:                 #pragma region and #pragma endregion
F#:                    //#region and //#endregion
PowerShell:            #region and #endregion
Python:                #region and #endregion
VB:                    #Region and #End Region
PHP:                   #region and #endregion
Bat:                   ::#region and ::#endregion or REM #region and REM #endregion
Markdown:              <!-- #region --> and <!-- #endregion -->
Golang                 //region and //endregion or //#region and //#endregion
Java                   //#region and //#endregion
CSS/SCSS/Less:         /* #region */ and /* #endregion */ or /*#region*/ and /*#endregion*/
SCSS/Less:             // #region and // #endregion
Go:                    // region, // endregion and // #region, // #endregion
shellscript:           # region and # endregion
Perl5                  #region and #endregion or =pod and =cut`
Posted by: Guest on September-22-2021
1

collapse all vscode

Ctrl + K + 0
Posted by: Guest on October-12-2021
2

visual studio code collapse all

// Fold
Ctrl + K + 0 // fold everything that could be folded
Ctrl + K + 1 // fold just the main branches

// Unfold
Ctrl + K + J // unfold everything
Posted by: Guest on February-11-2021
3

collapse all code visual studio

Visual studio 
fold all: Ctrl + M + O
unfold all: Ctrl + M + P
Posted by: Guest on November-23-2020
-1

how to collapse only methods in vscode

Ctrl + K + 3 to collapse all methods in a class in vscode
Posted by: Guest on June-03-2021

Browse Popular Code Answers by Language