• Login
Community
  • Login

Keep Search Window Open all the time

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
10 Posts 5 Posters 2.9k 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.
  • D
    David B Ferguson
    last edited by Jul 11, 2018, 2:40 PM

    Is there any way to keep the search window open all the time? It closes every time I do a Find in Files search. Thanks

    S 1 Reply Last reply Jul 11, 2018, 3:44 PM Reply Quote 1
    • S
      Scott Sumner @David B Ferguson
      last edited by Jul 11, 2018, 3:44 PM

      @David-B-Ferguson

      Well, it will stay open if your search results in 0 hits in 0 files but I sense that isn’t all you want. :-D

      So there is no easy way to make it stay open in general…however, I have seen it done with a lot of scripting code.

      The usual use-case is:

      • do a find-in-files
      • work with results in the Find result panel and/or editor tabs

      At this point your input focus is not on the Find window, so if it were still open it would take a mouse click to go back to it (count: 1 action). Find-in-files by default is tied to the ctrl+shift+f keycombo (count: also 1 action), so pressing that gets that window open again. Results: it takes one action either way. Summary: not so bad even when the window closes on successful search, IMO. :-)

      1 Reply Last reply Reply Quote 2
      • Y
        Yaron
        last edited by Jul 11, 2018, 11:05 PM

        Hello David and Scott,

        Close NPP, open config.xml with another editor and change dlgAlwaysVisible="no" to dlgAlwaysVisible="yes".

        Best regards.

        S D A 3 Replies Last reply Jul 12, 2018, 12:05 PM Reply Quote 4
        • S
          Scott Sumner @Yaron
          last edited by Jul 12, 2018, 12:05 PM

          @Yaron

          I didn’t know that trick. It works. I don’t recall ever seeing that discussed before. In this case, I’m glad to be wrong. :-)

          I only find keeping the Find window open useful when I’m using multiple monitors and I can move it to a different monitor than my maximized N++ window…otherwise I’m happy when it normally (without your trick in effect) decides to close itself and get itself out of the way!

          1 Reply Last reply Reply Quote 3
          • Y
            Yaron
            last edited by Yaron Jul 12, 2018, 9:36 PM Jul 12, 2018, 9:35 PM

            Scott,

            I had actually never tried it before reading this thread.
            I did remember the config entry and voilà…

            S 1 Reply Last reply Jul 12, 2018, 9:42 PM Reply Quote 2
            • S
              Scott Sumner @Yaron
              last edited by Jul 12, 2018, 9:42 PM

              @Yaron

              I think that’s why I like this site…I’m always learning new stuff that can boost my own productivity by the way others do things (and discuss them). Helping out by answering questions (if I can) is rewarding, too, but it’s secondary to my main (selfish) reason for being here. :-D

              1 Reply Last reply Reply Quote 2
              • Y
                Yaron
                last edited by Jul 13, 2018, 2:22 PM

                Scott,

                Whatever the motive, your major contribution to this forum is much appreciated. :)

                1 Reply Last reply Reply Quote 2
                • D
                  David B Ferguson @Yaron
                  last edited by Sep 5, 2018, 4:20 AM

                  @Yaron Thanks for the reply. Sorry I took so long to follow up on it, but it works great!

                  1 Reply Last reply Reply Quote 1
                  • A
                    Aliaksandr3by @Yaron
                    last edited by Oct 17, 2020, 1:39 AM

                    @Yaron
                    this method does not work for me (npp v7.9 64b + win10_64)
                    i use “cloud backup”

                    A 1 Reply Last reply Oct 17, 2020, 10:31 AM Reply Quote 0
                    • A
                      Alan Kilborn @Aliaksandr3by
                      last edited by Oct 17, 2020, 10:31 AM

                      @Aliaksandr3by

                      The new way (7.9) to do this is in the Preferences on the Searching page.
                      See Find dialog remains open after search that outputs to results window.
                      Tick that box.

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