VS Code Extensions
Paste Compare

Paste Compare

by WeiqiangWang

Paste or drop two texts and compare them side by side.

Downloads

11

Rating

— (0)

Version

0.4.0

Last updated

Jul 14, 2026

A focused VS Code extension for comparing two pieces of text copied from anywhere.

Usage

  1. Run Paste Compare: Open Native Comparison from the Command Palette.
  2. Copy the first text and run Paste Compare: Paste Clipboard into Left.
  3. Copy the second text and run Paste Compare: Paste Clipboard into Right.
  4. Run Paste Compare: Select Syntax Language when comparing code.

The native VS Code diff opens by default, including syntax highlighting, line alignment, line numbers, and synchronized scrolling. The original two-pane input UI remains available through Paste Compare: Open Paste Workbench.

Files can also be loaded using Paste Compare: Load into Left/Right from the Explorer context menu. Dragging a file into either pane is supported when the VS Code host exposes its URI to webviews.

Development

Press F5 in VS Code to launch an Extension Development Host, or run:

npm install
npm run check
npm run package

Related extensions