Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>clipboard-surroundNew to Visual Studio Code? Get it now.
clipboard-surround

clipboard-surround

Rahul Sinha

|
2 installs
| (0) | Free
Dynamically surround selected text using a template from your clipboard.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Clipboard Surround

Dynamically surround selected text using a template from your clipboard. Perfect for quickly wrapping variables in logging functions, type casts, or custom tags.

Usage

  1. Copy your desired template to your clipboard, using $ where you want the text to go.
    • Example: STR_DATA($)
  2. Highlight the text in your editor.
    • Example: myVariable
  3. Press Ctrl+Shift+V (Windows/Linux) or Cmd+Shift+V (Mac).
    • Result: STR_DATA(myVariable)

Note: Fully supports multi-cursor selections!

Extension Settings

You can customize the extension through your VS Code settings:

  • clipboardSurround.placeholder: The string used as the placeholder in your clipboard text. (Default: $)

Enjoy frictionless refactoring!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft