Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Pair DiffNew to Visual Studio Code? Get it now.
Pair Diff

Pair Diff

Anthony Fu

|
577 installs
| (0) | Free
| Sponsor
Pair files for quick diffing.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pair Diff

Visual Studio Marketplace Version

Pair files for quick diffing.

Configrations

pair-diff.patterns

An array for patterns to match files in pairs. For example:

{
  "pair-diff.patterns": [
    {
      "source": "./test/*/input.ts",
      "target": "<dir>/output.ts"
    },
    {
      "source": "./test/input/*.*",
      "target": "<dir>/../output/<basename>"
    }
  ]
}

The source option supports glob patterns, and the target option supports the following placeholders:

  • <dir> / <dirname>: the directory of the source file
  • <base> / <basename>: the filename of the source file, with extension
  • <name>: the basename of the source file without extension
  • <ext>: the extension name of the source file

Sponsors

License

MIT License © 2022 Anthony Fu

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