antfu / vscode-pair-diff

Pair files for quick diffing in VS Code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Pair files for quick diffing in VS Code.

License:MIT License


Languages

Language:TypeScript 97.2%Language:JavaScript 2.8%