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
Development
Clone this project
Install dependencies
npm i
Open this project in its own window in Visual Studio Code
code .
Run the extension
Press F5 in Visual Studio Code
| |