Skip to content

Instantly share code, notes, and snippets.

@HeyItsGilbert
Created June 24, 2025 21:03
Show Gist options
  • Save HeyItsGilbert/311f84e1eee20918728941cdbc4eaa0e to your computer and use it in GitHub Desktop.
Save HeyItsGilbert/311f84e1eee20918728941cdbc4eaa0e to your computer and use it in GitHub Desktop.
PowerShell snippet: Wrap your selected code with #region blocks.
{
"region": {
"prefix": "#region",
"body": [
"#region $1",
"$TM_SELECTED_TEXT",
"#endregion $1"
],
"description": "Wrap your selected code with #region blocks."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment