Dynamically surround selected text using a template from your clipboard. Perfect for quickly wrapping variables in logging functions, type casts, or custom tags.
Usage
Copy your desired template to your clipboard, using $ where you want the text to go.
Example:STR_DATA($)
Highlight the text in your editor.
Example:myVariable
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: $)