preview_changes_enhanced
Preview code changes in multiple formats (unified, side-by-side, stat, word-diff) using context lines, whitespace control, and file pattern filters, tailored for VS Code via Code MCP Server.
Instructions
Enhanced change preview with multiple format options
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contextLines | No | Number of context lines | |
cwd | No | Working directory | |
filePattern | No | File pattern filter | |
format | No | Preview format | |
ignoreWhitespace | No | Ignore whitespace changes |
Input Schema (JSON Schema)
{
"properties": {
"contextLines": {
"description": "Number of context lines",
"type": "number"
},
"cwd": {
"description": "Working directory",
"type": "string"
},
"filePattern": {
"description": "File pattern filter",
"type": "string"
},
"format": {
"description": "Preview format",
"enum": [
"unified",
"side-by-side",
"stat",
"word-diff"
],
"type": "string"
},
"ignoreWhitespace": {
"description": "Ignore whitespace changes",
"type": "boolean"
}
},
"type": "object"
}