Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy On SelectNew to Visual Studio Code? Get it now.
Copy On Select

Copy On Select

Dinhani

|
18,013 installs
| (8) | Free
Copy the selected text without having to hit CTRL+C.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy On Select

This extension automatically copies the selected text in the editor when you select it, without having to hit CTRL+C.

Example

The selected text is automatically copied when selected with the mouse first, then with the keyboard.

Copy On Select example

Configuration

// Should copy the selected text when it was selected using the keyboard?
"copyOnSelect.copyOnKeyboardSelection": false

// Should copy the selected text when it was selected using the mouse?
"copyOnSelect.copyOnMouseSelection": true

// Should trim the start of the copied text?
"copyOnSelect.trimStart": false

// Should trim the end of the copied text?
"copyOnSelect.trimEnd": true

Feedback

Request features and report bugs using GitHub.

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