Community
    • 登入

    Setting to clear previous search results before files search?

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    7 貼文 3 Posters 5.1k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Vinnie MV
      Vinnie M
      最後由 編輯

      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 KilbornA 1 條回覆 最後回覆 回覆 引用 0
      • Alan KilbornA
        Alan Kilborn @Vinnie M
        最後由 編輯

        @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 條回覆 最後回覆 回覆 引用 2
        • Vinnie MV
          Vinnie M
          最後由 編輯

          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 KilbornA 1 條回覆 最後回覆 回覆 引用 0
          • Alan KilbornA
            Alan Kilborn @Vinnie M
            最後由 編輯

            @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 KilbornA 1 條回覆 最後回覆 回覆 引用 0
            • Alan KilbornA
              Alan Kilborn @Alan Kilborn
              最後由 編輯

              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 條回覆 最後回覆 回覆 引用 0
              • Rayhaan SahibR
                Rayhaan Sahib
                最後由 編輯

                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 條回覆 最後回覆 回覆 引用 1
                • Alan KilbornA
                  Alan Kilborn
                  最後由 編輯

                  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 條回覆 最後回覆 回覆 引用 3
                  • 第一個貼文
                    最後的貼文
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors