Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Auto SurroundNew to Visual Studio Code? Get it now.
Auto Surround

Auto Surround

ctf0

|
2,521 installs
| (2) | Free
auto surround text as you type
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

you can have the same behavior with snippet but

  • i got tired of having to create a snippet per each character
  • the command when failing from realease to another #86954
  • some chracters surround text as expected in some languages but not in other

so this extension fixes that for good.

demo

Notes

  • the extension doesn't need any configuration, just make a selection and press the surrounding key
  • doesn't support inputs because its not exposed to api yet
  • https://github.com/Microsoft/vscode/issues/13441
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft