Community

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

    Keep Search Window Open all the time

    Help wanted · · · – – – · · ·
    5
    10
    1882
    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.
    • David B Ferguson
      David B Ferguson last edited by

      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

      Scott Sumner 1 Reply Last reply Reply Quote 1
      • Scott Sumner
        Scott Sumner @David B Ferguson last edited by

        @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
        • Yaron
          Yaron last edited by

          Hello David and Scott,

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

          Best regards.

          Scott Sumner David B Ferguson Aliaksandr3by 3 Replies Last reply Reply Quote 4
          • Scott Sumner
            Scott Sumner @Yaron last edited by

            @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
            • Yaron
              Yaron last edited by Yaron

              Scott,

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

              Scott Sumner 1 Reply Last reply Reply Quote 2
              • Scott Sumner
                Scott Sumner @Yaron last edited by

                @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
                • Yaron
                  Yaron last edited by

                  Scott,

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

                  1 Reply Last reply Reply Quote 2
                  • David B Ferguson
                    David B Ferguson @Yaron last edited by

                    @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
                    • Aliaksandr3by
                      Aliaksandr3by @Yaron last edited by

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

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

                        @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
                        Copyright © 2014 NodeBB Forums | Contributors