Edit File Lines

•
34
•

Facilitates precise, line-based modifications to text files within specified directories via string or regex pattern matching.

Edit File Lines is a TypeScript-based server designed for making precise, line-based edits to text files. It offers tools for replacing entire lines or specific text matches using string or regular expression patterns, preserving line formatting and handling multiple lines. The server features a dry-run mode to preview changes and an approval mechanism for secure application of edits, ensuring controlled modifications to files within allowed directories.

主な機能

01Line-based editing with string or regex pattern matching
02Dry-run mode for previewing changes
03Two-step editing process with change approval
04Whitespace normalization for pattern matching
05Tools for searching and inspecting file lines

ユースケース

01Automated configuration file updates
02Code refactoring and modification
03Updating JSX component structures