Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/antfu/vscode-pair-diff
- Owner: antfu
- License: mit
- Created: 2023-11-14T13:10:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-15T10:09:58.000Z (about 1 year ago)
- Last Synced: 2025-01-08T01:41:27.182Z (25 days ago)
- Topics: vscode, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 137 KB
- Stars: 77
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Pair Diff
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)