Skip to content

Plugin System

WinXMerge supports a plugin system that lets you run external commands with file path placeholders.

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}"
}
]
}
PlaceholderDescription
{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.