Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/antfu/vscode-pair-diff

Pair files for quick diffing in VS Code.
https://github.com/antfu/vscode-pair-diff

vscode vscode-extension

Last synced: 12 days ago
JSON representation

Pair files for quick diffing in VS Code.

Awesome Lists containing this project

README

        

# 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:

```jsonc
{
"pair-diff.patterns": [
{
"source": "./test/*/input.ts",
"target": "/output.ts"
},
{
"source": "./test/input/*.*",
"target": "/../output/"
}
]
}
```

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

- `` / ``: the directory of the source file
- `` / ``: the filename of the source file, with extension
- ``: the basename of the source file without extension
- ``: the extension name of the source file

## Sponsors





## License

[MIT](./LICENSE) License © 2022 [Anthony Fu](https://github.com/antfu)