Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy without formattingNew to Visual Studio Code? Get it now.
Copy without formatting

Copy without formatting

bmaupin

|
7,851 installs
| (4) | Free
Copy text without formatting (syntax highlighting, font, etc)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Visual Studio Code extension to copy text without formatting

⚠️ You may not need this extension

After this extension was first published, Visual Studio Code added a new setting:

  // Controls whether syntax highlighting should be copied into the clipboard.
  "editor.copyWithSyntaxHighlighting": true,

(https://code.visualstudio.com/docs/getstarted/settings#_default-settings)

If you set that to false, then the Copy command will copy without formatting and you can use the Copy With Syntax Highlighting command when needed.

Features

  • Adds the ability to copy text without formatting (syntax highlighting, font, etc)
  • Accessible from the right-click context menu or these keyboard shortcuts:
    • Linux/Windows: Ctrl+Shift+C
    • Mac: Shift+⌘+C

screenshot

Development

  1. Clone this project

  2. Install dependencies

    npm i
    
  3. Open this project in its own window in Visual Studio Code

    code .
    
  4. Run the extension

    Press F5 in Visual Studio Code

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