Community
    • Login

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

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 4 Posters 3.7k Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors