collapse all code vscode
Use :
Ctrl + K + 0 to fold all
Ctrl + K + J to unfold all
collapse all code vscode
Use :
Ctrl + K + 0 to fold all
Ctrl + K + J to unfold all
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`
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
how to collapse only methods in vscode
Ctrl + K + 3 to collapse all methods in a class in vscode
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us