visual studio code regions addon code example
Example 1: Visual Studio Code Typescript region folding
Example 2: custom folding vscode
Language Start region End region
Bat ::#region or REM #region ::#endregion or REM #endregion
C# #region #endregion
C/C++ #pragma region #pragma endregion
CSS/Less/SCSS
Coffeescript #region #endregion
F#
Java
Markdown <!-- #region --> <!-- #endregion -->
Perl5 #region or =pod #endregion or =cut
PHP #region #endregion
PowerShell #region #endregion
Python #region or # region #endregion or # endregion
TypeScript/JavaScript
Visual Basic #Region #End Region