Community
    • Login

    [feature requet] New Selected Multiple Documents

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    feature request
    3 Posts 3 Posters 79 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.
    • Mit JeanM
      Mit Jean
      last edited by

      I have a need to apply a find or find/Replace to Multiple Open Documents (MOD Scope). A simple new scope would do it.

      Mark/Unmark the tab with Ctrl-Click and the MOD scope gets activated

      That feature would be a fantastic time saver

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

        @Mit-Jean

        Read HERE.

        1 Reply Last reply Reply Quote 0
        • Mark OlsonM
          Mark Olson @Mit Jean
          last edited by Mark Olson

          @Mit-Jean
          If all your open documents are in a reasonably small directory tree (e.g., you don’t have one in C:\Users\yourname\Documents and one in C:\Program Files\Notepad++), you can use MS-DOS wildcard syntax to select patterns in filenames.

          For example, if I have the following files open in Notepad++

          README.md
          foo1.md
          subdir1\bfoo.axt
          subdir2\bar.bxt
          subdir2\foo2.cxt
          subdir3\foo2.md
          subdir4\foo300.dxt
          subdir4\subsubdir\foo99.fxt
          

          you could use foo*.?xt to select only the files where the filename starts with foo and the extension is one character followed by xt, which would include only

          subdir2\foo2.cxt
          subdir4\foo300.dxt
          subdir4\subsubdir\foo99.fxt
          

          This syntax is kind of frustrating and confusing in its limitations (read the documentation linked above very carefully to understand them), and while I like Notepad++ for find/replace operations in a single file, I will almost always use VSCode for find/replace operations in numerous files because it is much more performant and makes it a lot easier to include/exclude certain types of files.

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