Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>copy-paste-diffNew to Visual Studio Code? Get it now.
copy-paste-diff

copy-paste-diff

dev-jonathan

|
2 installs
| (0) | Free
Shows a diff automatically for paste in files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

banner

copy-paste-diff

See exactly what changed when you paste. Review pasted content with a side-by-side diff view before confirming changes.

Demo

Demo

Quick Start

Press Ctrl+Alt+V (or Cmd+Alt+V on macOS) to paste with diff view. The extension shows a side-by-side comparison of your file before and after the paste.

Features

  • ✅ Manual diff paste - Press Ctrl+Alt+V / Cmd+Alt+V to paste and see changes
  • ✅ Smart detection - Automatically skips diff when only whitespace/indentation changed
  • ✅ Native VS Code diff - Uses built-in diff viewer with proper syntax highlighting
  • ✅ Optional auto mode - Enable automatic diff for large pastes via Ctrl+V (see Settings)

Settings

  • diffPaste.enablePasteOverride (default: false)

    • Enable to automatically show diff when using normal Paste (Ctrl+V/Cmd+V) for large text blocks
  • diffPaste.minPasteSize (default: 100)

    • Minimum characters to trigger diff in automatic mode

License

MIT © dev-jonathan

repo: https://github.com/dev-jonathan/copy-paste-diff

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