Community
    • Login

    Feature Request: Sort search results based on criteria ...

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 4 Posters 3.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.
    • Btw HthuB
      Btw Hthu
      last edited by

      I’m lovin’ Notepad++ extensively for coding and searching code within countless lines of code. Is there a way to sort search results based on other text criteria? For example, I search for a class element (myclass), then I need to sort to the top of the results list all the lines of code that contain myclass AND another text sequence such as .on . Ofcourse, double-clicking on those sorted lines of code would pop open the corresponding javascript/html page. Any way to achieve this in current Notepad++ version? Awesome tool indeed!

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Btw Hthu
        last edited by

        @Btw-Hthu

        Any way to achieve this in current Notepad++ version?

        Unfortunattely, no, but would be a nice enhancement, indeed.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Tim JarrettT
          Tim Jarrett
          last edited by

          I do a similar thing, by copying the search output to a new file and then searching just those lines.

          1 Reply Last reply Reply Quote 0
          • Scott SumnerS
            Scott Sumner
            last edited by

            @Tim-Jarrett said:

            copying the search output to a new file

            In that case the LineFilter2 plugin might be of some assistance…

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