Plugin System
WinXMerge supports a plugin system that lets you run external commands with file path placeholders.
Configuration
Section titled “Configuration”Plugins are configured in ~/.config/winxmerge/settings.json:
{ "plugins": [ { "name": "Format with Prettier", "command": "prettier --write {LEFT} {RIGHT}" }, { "name": "Open in VS Code", "command": "code --diff {LEFT} {RIGHT}" } ]}Placeholders
Section titled “Placeholders”| Placeholder | Description |
|---|---|
{LEFT} | Path to the left file |
{RIGHT} | Path to the right file |
Configured plugins appear in the Plugins menu. Select a plugin to execute its command with the current file paths substituted.