Skip to content

Multi-File Find & Replace #1557

@MarcusK00

Description

@MarcusK00

What feature or new tool do you think should be added to DevToys?

A tool that opens a search interface where the user can enter a text string or regular expression and a replacement string. It searches across all files in a chosen folder (with customizable filters by file type) and shows all matches. The user can preview occurrences and apply replacements in bulk or individually. Could also add the ability to rename multiple file names and not just its content.

Why do you think this is needed?

Many developers and power users frequently need to refactor text across multiple files. This complements existing tools and would greatly speed up common coding and document-editing tasks. Integrating such a utility into DevToys would save users from switching to a separate text editor or IDE for bulk find/replace, fitting naturally into the DevToys productivity suite.

Solution/Idea

Lets say a developer needs to update a function name or variable across an entire codebase. They open Multi-File Find & Replace set the project folder, enter the old function name and new name, and preview all affected lines. The tool shows where replacements will occur and allows the developer to apply them in all matching files at once. Similarly, a writer might use it to correct a repeated typo or update branding terms in many documents.

Comments

Options to include/exclude subfolders; file type filters (e.g. *.cs, *.js, *.txt); toggle case sensitivity; enable regex or plain-text mode; preview pane to show context of each match; “undo” history; and safe-save options (e.g. auto-backup before replace). Keyboard shortcuts could launch the tool or repeat the last replace action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions