Community
    • Login

    [Suggestion] Add The library tab in the Find and Replace window to reuse Regexes mainly

    Scheduled Pinned Locked Moved General Discussion
    feature request
    21 Posts 8 Posters 2.2k 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.
    • Alan KilbornA
      Alan Kilborn @guy038
      last edited by

      @guy038 said in [Suggestion] Add The library tab in the Find and Replace window to reuse Regexes mainly:

      it means that, rather than having the 3 zones Case sensitive, Whole word only and Regular expression, at the bottom of the window, we should better put the 3 modes of search Normal, Extended and RegExp

      Well…I think the following all belong:

      • case sensitive checkbox
      • whole word checkbox
      • search mode dropdown with the obvious 3 choices: Normal, Extended, Regular expression – or maybe 4 choices: Normal, Extended, Regular expression where . matches newline, Regular expression where . doesn’t match newline.

      Surely you see that e.g. “case sensitive” is more bound into the search trying to be captured here than something like e.g. “Backward direction”.

      BTW, and I probably should have stated this earlier, a design goal with crafting a specification for this is that we don’t go this far with it: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9627 :-)

      Lycan ThropeL 1 Reply Last reply Reply Quote 2
      • guy038G
        guy038
        last edited by guy038

        Hi, @alan-kilborn and All,

        Yes, your proposition seems sensible ! In this new Find and Replace Library window, we should stay concerned about options relative to the WAY of searching and/or replacing.

        And all the other parameters :

        • Regarding the direction of the search ( Backward direction, Wrap around options )

        • Regarding the scope of the search ( Filters: and Directory: fields )

        • Regarding the tracking of the search ( Bookmark line and Purge for each search options )

        would be defined by the user, before running the process


        Thus, this leads to have, at the bottom of that window, two rows of options :

        • Case sensitive, Whole word and Normal

        • Extended, RegExp and RegExp (Dot=All)

        Just a suggestion, of course !

        Best Regards,

        guy038

        Robin CruiseR 1 Reply Last reply Reply Quote 4
        • Robin CruiseR
          Robin Cruise @guy038
          last edited by

          @Taije Park a new feature is a new beginning. I really like your idea.

          1 Reply Last reply Reply Quote 0
          • Lycan ThropeL
            Lycan Thrope @Alan Kilborn
            last edited by Lycan Thrope

            @alan-kilborn ,
            After looking at that, I agree, that is a micro management screen. :)
            All people really want is something to store their regularly used search expressions in a handy library space with the search and replace menu so it pastes it in and runs it. Anything more than that can overwhelm users, especially novices…which seems to be the dominant species to using the free Notepad++ editor.

            Alan KilbornA 1 Reply Last reply Reply Quote 0
            • Alan KilbornA
              Alan Kilborn @Lycan Thrope
              last edited by

              Another recent feature request for this: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11981

              1 Reply Last reply Reply Quote 1
              • PeterJonesP PeterJones referenced this topic on
              • Remote RVR
                Remote RV
                last edited by Remote RV

                I was just about to post this exact same Feature Request…

                I believe that whenever you have RegEx options in Search and Replace, there should be an option to save the Searches…

                Constructing RegEx is pain. No one wants to go thought that repeatedly unless necessary :)

                Also naming the saved searches is critical because without the name you only have the regex string visible and you must still DECIPHER weeks later what does it do… an explanatory name of the bookmark/preset is crucial for quick and confident re-use

                example of self-explanatory saved searches presets

                “Replace department codes in HR Quarterly Report”
                “Book Reviews - Add TAB after Chapter Numbers”
                “AD Data Export - Delete employee number”

                This request will no doubt keep re-appearing in new GitHub requests and Notepad Community topics…

                There are MANY text editors out there that already have this so when i first moved to NP++ it was sad to find out this is missing… still I like NP++ very much but sometimes I keep another editor handy with the search bookmarks for those regular regex operations…

                Also please anyone who like this… UPVOTE the original message (Taije Park 18. May 2022 6:28 PM)… so the upvotes are visible in the forum…

                Remote RVR PeterJonesP 2 Replies Last reply Reply Quote 0
                • Remote RVR
                  Remote RV @Remote RV
                  last edited by Remote RV

                  @Remote-RV This is all the GitHub Feature Requests asking for the same thing (ability to save Search/Replace presets)

                  https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11669
                  this is the request from Taije Park linking to this Notepad community thread

                  https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11309

                  https://github.com/notepad-plus-plus/notepad-plus-plus/issues/4700

                  https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11981

                  https://github.com/notepad-plus-plus/notepad-plus-plus/issues/5823

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

                    @Remote-RV said in [Suggestion] Add The library tab in the Find and Replace window to reuse Regexes mainly:

                    Also please anyone who like this… UPVOTE the original message (Taije Park 18. May 2022 6:28 PM)… so the upvotes are visible in the forum…

                    I have no problem with encouraging people to upvote certain posts in the forum. But in case there is any confusion on your part or the part of those who read your post: it won’t change anything. What happens here is virtually irrelevant to the decision maker in the github repository. The developer does not hang out in the forum, and he doesn’t look at upvotes on posts here to influence what gets implemented in Notepad++. If you really want to influence things, upvote and comment on the issues in the github repository – because he at least reads new issues, and might notice things like upvotes on a github request.

                    Remote RVR 1 Reply Last reply Reply Quote 1
                    • Remote RVR
                      Remote RV @PeterJones
                      last edited by

                      @PeterJones Thanks. Yes I understand. But I didn’t find any button to upvote ISSUE in GitHub.

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

                        @Remote-RV said in [Suggestion] Add The library tab in the Find and Replace window to reuse Regexes mainly:

                        I didn’t find any button to upvote ISSUE in GitHub.

                        335c15cd-8290-43c8-8c67-0fc8cb94a7f1-image.png

                        Remote RVR 1 Reply Last reply Reply Quote 2
                        • Remote RVR
                          Remote RV @PeterJones
                          last edited by

                          @PeterJones Aaaaah ok. I thought this is more of a reaction to individual post. I was wondering if there is like a voting mechanism on the issues as a whole that shows the developers which issues are “most wanted” in the grand scheme of 1900 opened issues… well I guess in the end developers do not decide based on votes anyway… its not that simple :)

                          but good to know there is THUMB UP

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