Answers for "visual studio code regions"

4

vs code region foldign

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			/*#region*/						/*#endregion*/
Coffeescript			#region							#endregion
F#						//#region or (#_region)			//#endregion or (#_endregion)
Java					//#region or //<editor-fold>	// #endregion or //</editor-fold>
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	//#region						//#endregion
Visual Basic			#Region							#End Region
Posted by: Guest on June-16-2020
2

Visual Studio Code Typescript region folding

//Visual studio code now supports this functionality for Typescript documents
//#region Region Name Here
	//Code content here
//#endregion Region Name Here
Posted by: Guest on July-03-2020
0

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			/*#region*/						/*#endregion*/
Coffeescript			#region							#endregion
F#						//#region or (#_region)			//#endregion or (#_endregion)
Java					//#region or //<editor-fold>	// #endregion or //</editor-fold>
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	//#region						//#endregion
Visual Basic			#Region							#End Region
Posted by: Guest on June-18-2020

Browse Popular Code Answers by Language