Community
    • Login

    [New Plugin] MultiReplace

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    77 Posts 12 Posters 54.4k 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.
    • Thomas KnoefelT
      Thomas Knoefel @Thomas Knoefel
      last edited by

      Version 4.3.0.26 has been relased and will be included in the next Notepad++ update. This update is mostly about performance improvements.

      Implemented updates:

      • Replace matches: Allows targeted replacements using match indexes like 1, 1,3 or 2-5.

      • List Statistics: Displays counts for active, total, current, and selected entries below the list.
        (Disabled by default – enable via ListStatistics=1 in the INI file.)

      • Use Variables Performance: Significantly faster execution of replacements using the “Use Variables” option.

      • Docs and Language: Minor documentation and wording refinements.

      Thomas KnoefelT 1 Reply Last reply Reply Quote 3
      • wonkawillyW
        wonkawilly
        last edited by

        IMHO the features of this plugin should be implemented directly into N++, maybe adding a further tab page to the current Search and Replace dialog to include the features of this plugin and its future evolution.

        1 Reply Last reply Reply Quote 0
        • Thomas KnoefelT
          Thomas Knoefel @Thomas Knoefel
          last edited by

          MultiReplace now also supports Replace in Files. This is another step toward a powerful feature when combined with the list entries. This feature supports all variables used in Use Variables, like FNAME and FPATH, as well as the CSV Scope option, so it is fully integrated.

          This is a Release Candidate available for testing – if it works for you, feel free to leave a like. If you run into any issues, please report them here.

          Download link

          • Download the ZIP file matching your system.
          • Copy its contents into C:\Program Files\Notepad++\plugins\MultiReplace.
          • Done!

          e8fa1053-4311-4396-a11e-965d6c071700-image.png

          Happy replacing!

          Thomas KnoefelT 1 Reply Last reply Reply Quote 2
          • Mit JeanM
            Mit Jean
            last edited by

            A CTRL-Click on a tab would select it as part of a new scope for multi-documemt replacement.

            A new feature very useful when you want to apply search/replace to a list of open documents but not all open documents

            Alan KilbornA Thomas KnoefelT 2 Replies Last reply Reply Quote 0
            • Alan KilbornA
              Alan Kilborn @Mit Jean
              last edited by

              @Mit-Jean said in [New Plugin] MultiReplace:

              A CTRL-Click on a tab would select it

              This is not something the MultiReplace plugin has the power to do, as the idea messes with core Notepad++ functionality.
              However, nothing is stopping the plugin author from creating some other mechanism within the plugin to do what you want.

              1 Reply Last reply Reply Quote 0
              • Thomas KnoefelT
                Thomas Knoefel @Mit Jean
                last edited by

                @Mit-Jean
                A better solution would be to mark documents by pinning them. Unfortunately, Notepad++ does not provide an official API to detect whether a tab is pinned.

                Mark OlsonM 1 Reply Last reply Reply Quote 1
                • Mark OlsonM
                  Mark Olson @Thomas Knoefel
                  last edited by

                  @Thomas-Knoefel
                  Your idea of a plugin interface to determine if a tab is pinned seems very reasonable, so I created this GitHub issue to ask for such a feature.

                  Thomas KnoefelT 1 Reply Last reply Reply Quote 1
                  • Thomas KnoefelT
                    Thomas Knoefel @Mark Olson
                    last edited by Thomas Knoefel

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • Thomas KnoefelT
                      Thomas Knoefel @Thomas Knoefel
                      last edited by Thomas Knoefel

                      A new version of MultiReplace (v4.5.0.30) is ready and will be available with the next Notepad++ release. It can be dowloaded here.

                      The focus of this release is on expanding the search functionality and giving you more flexibility.

                      Implemented updates:

                      • Find All: This is a new feature that lets you find all matches and see them in the search results window. It’s not limited to the current file – you can also search across all open documents or in entire folders.

                      • GroupResults: To go with “Find All,” this new INI option lets you choose how your results are displayed. You can see them all mixed together in document order (the default), or neatly grouped by each list entry, which is great for getting a clear overview of complex searches.

                      • lcmd: A new command for the “Use Variables” feature. It allows you to load your own custom helper functions from external files, which opens up a lot of possibilities for complex and reusable logic.

                      • AllFromCursor: Another new INI setting that gives you more control. You can now choose to start “Find All”, “Replace All” and “Mark” operations from your current cursor position instead of from the top of the file.

                      Here is a visual take on the changes:
                      MultiReplace45.png

                      Thomas KnoefelT 1 Reply Last reply Reply Quote 2
                      • Thomas KnoefelT
                        Thomas Knoefel @Thomas Knoefel
                        last edited by

                        A new version of MultiReplace (v5.0.0.35) is ready and will be available with the next Notepad++ release. For early testing, it can already be downloaded here.

                        The focus of this release is on a new Settings Panel, improved Search Results visualization, and overall usability enhancements.

                        Key Features & Improvements

                        • Settings Panel: A comprehensive configuration dialog replaces manual INI file editing. All options are now organized into clear categories: Search & Replace, List View, CSV Options, Export, and Appearance.
                        • Refined Toolbar Icon: The icon has been updated to improve clarity.
                        • List Search Bar: Press Ctrl+F while focused on the replacement list to open a search bar. Quickly find entries in large lists by searching through the ‘Find’ and ‘Replace’ columns.
                        • Search Results Window Enhancements:
                          • Color-coded matches (up to 28 colors) for easy visual distinction per list entry.
                          • Double-click the Matches count to jump directly to the results.
                        • Duplicate Line Detection: Identify and mark duplicate CSV rows. Delete or inspect duplicates with optional bookmark navigation.
                        • Binary Escape Sequence: Extended mode now supports \bNNNNNNNN for binary values.
                        • tonum() Function: New helper to convert strings to numbers, supporting both dot and comma as decimal separators.
                        • MATCH and CAP Variables: Now always return strings. Use tonum(CAP1) for calculations.
                        • Selection Mode: The ‘In Selection’ radio button no longer disables itself, enabling smoother repeated searches.
                        • Document Filtering for Open Docs: Find and Replace in Open Documents now supports wildcard-based filename filtering.
                        • Unified Filter Syntax: Filters now use semicolons (;) as separators in both ‘Open Documents’ and ‘Find in Files’ modes. This enables filtering for filenames containing spaces.
                        • Performance: Various optimizations for Replace All, Find All, and FlowTabs alignment on large files.

                        New Settings Panel with organized categories
                        17ec400c-8dde-4b03-94ec-c2f2a25bc600-image.png
                         
                        Double-click the Matches count to quickly navigate through results
                        ba478eec-321e-42f3-ad63-d2c9239eca42-image.png

                        Enjoy!

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