Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>copyPastaNew to Visual Studio Code? Get it now.
copyPasta

copyPasta

kinghat

|
525 installs
| (1) | Free
a visual studio code extension to align your code for clean pasta later
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

copyPasta

a small extension to left align copied code snippets for pasting in text fields, for example, discord.

Usage

  1. text needs to be selected. preferably the selection encapsulates all white space.
  2. use one of the following methods to activate:
    • keyboard shortcut:
      • win/nix: Ctrl+Shift+C
      • mac: Cmd+Shift+C
    • right click -> copyPasta context menu
    • Command Palette(Ctrl+Shift+P) -> copyPasta

demo

Credits

Icons by Freepik and monkik from Flaticon and frankensteined by yours truly 😁

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