FIND IN FILES, THEN REPLACE: need confirm before replacing checkbox
-
FIND IN FILES then REPLACE: confirm before making changes.
Find in files command is powerful, essential but potentially destructive.
There needs to be a checkbox to view each change made and manually approve.
If you check the box CONFIRM BEFORE REPLACE, you can then see what changes are about to happen BEFORE they are actually changed.As it is now, if you make a code mistake and run FIND IN FILES and REPLACE, you can destroy a lot of good html files
steve
-
What you are describing is equivalent to running REPLACE in each individual file manually; if that’s what you want to do, then do it that way, rather than than trying to manipulate the bulk FIND IN FILES feature to behave like it’s a per-file REPLACE.
Further, it is always up to you, the user, to make sure you have backups of critical data. When doing something like editing code or HTML, I highly recommend not just backups but full version control software (like git or svn or others).
-
Addendum:
That said, the actual content of your post is obviously a feature request. As explained in this FAQ, you need to submit feature requests in the issues section of the official github repository.
Requests made only in this forum (where you posted) will not be tracked, and have a virtually 0% chance of being implemented; requests made in the official issues section will be tracked, and at least make the developers aware of your requests (though it does not guarantee implementation).
If you do make an official feature request as a result of this topic, please paste a link to that request as a reply here, so that future readers can find it. Thank you.