File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -41,22 +41,16 @@ Node.js server implementing Model Context Protocol (MCP) for filesystem operatio
41
41
- Features:
42
42
- Line-based and multi-line content matching
43
43
- Whitespace normalization with indentation preservation
44
- - Fuzzy matching with confidence scoring
45
44
- Multiple simultaneous edits with correct positioning
46
45
- Indentation style detection and preservation
47
46
- Git-style diff output with context
48
47
- Preview changes with dry run mode
49
- - Failed match debugging with confidence scores
50
48
- Inputs:
51
49
- ` path ` (string): File to edit
52
50
- ` edits ` (array): List of edit operations
53
51
- ` oldText ` (string): Text to search for (can be substring)
54
52
- ` newText ` (string): Text to replace with
55
53
- ` dryRun ` (boolean): Preview changes without applying (default: false)
56
- - ` options ` (object): Optional formatting settings
57
- - ` preserveIndentation ` (boolean): Keep existing indentation (default: true)
58
- - ` normalizeWhitespace ` (boolean): Normalize spaces while preserving structure (default: true)
59
- - ` partialMatch ` (boolean): Enable fuzzy matching (default: true)
60
54
- Returns detailed diff and match information for dry runs, otherwise applies changes
61
55
- Best Practice: Always use dryRun first to preview changes before applying them
62
56
You can’t perform that action at this time.
0 commit comments