VS Code Extensions
clipboard-surround

clipboard-surround

by RahulSinha

Dynamically surround selected text using a template from your clipboard.

Downloads

8

Rating

— (0)

Version

0.0.1

Last updated

Apr 11, 2026

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!

Related extensions