Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Setting to clear previous search results before files search?

    Help wanted · · · – – – · · ·
    3
    7
    1046
    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.
    • Vinnie M
      Vinnie M last edited by

      Is there a setting to automatically clear the previous search results from the search results pane when initiating a new find-in-files operation?

      Alan Kilborn 1 Reply Last reply Reply Quote 0
      • Alan Kilborn
        Alan Kilborn @Vinnie M last edited by

        @Vinnie-M

        No, but I must ask why this is important? Previous searches get collapsed automatically so they are visually “out of the way”.

        Related: Probably you know this, but you can do it manually by right-clicking in the search results window and choosing Clear all.

        1 Reply Last reply Reply Quote 2
        • Vinnie M
          Vinnie M last edited by

          I see they are collapsed, but visually, to me, I still have to scan to see what in the results window is from an old search and what is from the current search. My brain, for whatever reason, doesn’t filter out the other ones even though they’re collapsed.

          I did find the context-menu Clear function and do use that… just trying to avoid the extra steps if it was possible.

          Alan Kilborn 1 Reply Last reply Reply Quote 0
          • Alan Kilborn
            Alan Kilborn @Vinnie M last edited by

            @Vinnie-M said in Setting to clear previous search results before files search?:

            My brain, for whatever reason, doesn’t filter out the other ones even though they’re collapsed.

            You have a different kind of brain. :-)

            However, maybe a feature request for this kind of thing is not totally unreasonable. Here’s the info on how to make such a request:
            https://community.notepad-plus-plus.org/topic/15741/faq-desk-feature-request-or-bug-report

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

              Thought continued…

              It would help for the case where you want to do an Open all after the search. In those cases I always forget about the old stuff hanging around and end up with more files open (sometimes way more if it has been a long day) than intended.

              1 Reply Last reply Reply Quote 0
              • Rayhaan Sahib
                Rayhaan Sahib last edited by

                Right click in the Search results window and click on “Purge for every search”.

                Next time you search the previous results will be cleared.

                1 Reply Last reply Reply Quote 1
                • Alan Kilborn
                  Alan Kilborn last edited by

                  The feature @Rayhaan-Sahib mentions was added in 8.0 with THIS change.

                  As 8.0 was released on 2021-06-07, the discussion earlier in this thread predates that.

                  1 Reply Last reply Reply Quote 3
                  • First post
                    Last post
                  Copyright © 2014 NodeBB Forums | Contributors