Community
    • Login

    FIND IN FILES, THEN REPLACE: need confirm before replacing checkbox

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 911 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Steven RuddS
      Steven Rudd
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones
        last edited by

        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).

        1 Reply Last reply Reply Quote 3
        • PeterJonesP
          PeterJones
          last edited by

          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.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors