Community
    • Login

    Find in Files not working

    Scheduled Pinned Locked Moved General Discussion
    37 Posts 18 Posters 37.8k 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.
    • kawingaK
      kawinga
      last edited by kawinga

      Hello,

      do you use the Filter “*.*”?

      Are File-System-Rights given?

      KR, Robert

      1 Reply Last reply Reply Quote 0
      • George MarshallG
        George Marshall
        last edited by

        I’ve tried several filters, no difference:
        .
        *.cgi
        *.sql

        File system permissions seem OK, no changes, and other editors can search with no problems.

        Claudia FrankC 1 Reply Last reply Reply Quote 0
        • Claudia FrankC
          Claudia Frank @George Marshall
          last edited by

          Hello @George-Marshall,

          do you do local searches or via network?
          Can you give us an example what you are searching and
          in which directory? Could it be that this is an file system redirection issue?

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 0
          • George MarshallG
            George Marshall
            last edited by

            No find-in-file searches have worked for the last few versions, with a file and directory structure unchanged on the local disk in Win 7. This is a feature I use quite often. Unfortunately, I did not notice which version broke at the time.

            Example seach:
            find a simple word, let’s say ‘order’ (no quotes) in a folder with several SQL scripts.
            Find what: order
            Replace with: <blank>
            Filters: .
            Directory: d:\Temp
            No match options set
            Search mode normal

            It does the scan - I can tell by the file names flying by that it is in the right folder.
            Result: zero files.

            In contrast, I bring up another text editor (Crimson Editor, if it matters) that has find-in-files ability, and it finds all the expected matches.

            Claudia FrankC 1 Reply Last reply Reply Quote 0
            • Claudia FrankC
              Claudia Frank @George Marshall
              last edited by

              Can you show us the debug info? (available under ? menu)

              Cheers
              Claudia

              1 Reply Last reply Reply Quote 0
              • George MarshallG
                George Marshall
                last edited by

                Certainly. Here it is.
                For the 6.9.1 install, I took all defaults.

                Notepad++ v6.9.1
                Build time : Mar 28 2016 - 19:48:40
                Path : C:\Program Files (x86)\Notepad++\notepad++.exe
                Admin mode : ON
                Local Conf mode : OFF
                OS : Windows 7
                Plugins : mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll PluginManager.dll SpellChecker.dll

                1 Reply Last reply Reply Quote 0
                • Claudia FrankC
                  Claudia Frank
                  last edited by

                  Coud you give it a try to download a zipped npp?
                  https://notepad-plus-plus.org/repository/6.x/6.9.1/npp.6.9.1.bin.7z

                  Extract it where you want and do the same search which isn’t working.

                  If this works, give it a try to rename the notepad++ directory under %APPDATA% directory
                  and give it another try with the installed version of npp.

                  Cheers
                  Claudia

                  1 Reply Last reply Reply Quote 1
                  • George MarshallG
                    George Marshall
                    last edited by

                    I tried the zipped version, no difference.
                    But, inspired by that I dea, I completely uninstalled the application using control panel, and re-installed 6.9.1 using the normal installer file.

                    Works great, so perhaps something in my registry got hosed.

                    Thanks for all the suggestion.

                    1 Reply Last reply Reply Quote 2
                    • Mark KentwellM
                      Mark Kentwell
                      last edited by

                      Thanks George, the re-installation option worked for me too! Now if they could fix the memory-leak (or similar) when you scroll too fast this would be brilliant!

                      1 Reply Last reply Reply Quote 0
                      • Guillermo LubaryG
                        Guillermo Lubary
                        last edited by

                        Yes, uninstall and reinstall worked for me too. It’s pretty fast.

                        1 Reply Last reply Reply Quote 0
                        • hugh jackmanH
                          hugh jackman
                          last edited by hugh jackman

                          no need to uninstall and then reinstall
                          Find in files tab , check/select In all sub-folders

                          1 Reply Last reply Reply Quote 0
                          • pinchiesP
                            pinchies
                            last edited by pinchies

                            While @hugh-jackman 's suggestion is also good advice for common PEBCAK sufferers, in this case I had the same problem and that did not work for me.

                            Fortunately, thanks to some sneaky comparison with WinMerge.exe I found the cause:

                            In ~/Appdata/Roaming/Notepad++/config.xml

                            <GUIConfig name=“DockingManager” leftWidth=“200” rightWidth=“200” topHeight=“200” bottomHeight=“0”>

                            Change the bottomHeight value from 0 to 200 and you’ll get the file search results back :-)

                            P.S would like to see a future collab between Notepad++ & WinMerge…

                            FYI There’s also a typo in the config file
                            useCustumDir=“no”

                            Notepad++ v7.6.3 (64-bit)
                            Build time : Jan 27 2019 - 17:16:47
                            Path : C:\Program Files\Notepad++\notepad++.exe
                            Admin mode : OFF
                            Local Conf mode : OFF
                            OS : Windows 10 (64-bit)
                            Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll

                            1 Reply Last reply Reply Quote 3
                            • PeterJonesP
                              PeterJones
                              last edited by

                              @pinchies,

                              There is a plugin for Notepad++ called the Compare plugin (v2.0.0 is available thru the Plugins > Plugins Admin interface in your Notepad++ v7.6.3). Not having used WinMerge, I don’t know the ins-and-outs of WinMerge’s feature set; however, the Compare plugin will highlight differences, allow you to jump between them, and you can easily copy data from one to the other, so it has a lot of similar features to other comparison tools, like gvimdiff, TortoiseSVN’s Diff, and presumably WinMerge. If you want file-comparison features inside the Notepad++ environment, that’s what I’d recommend.

                              1 Reply Last reply Reply Quote 2
                              • Bob BoisvertB
                                Bob Boisvert
                                last edited by

                                I get the same behaviour, last two weeks

                                Alan KilbornA 1 Reply Last reply Reply Quote 0
                                • PeterJonesP
                                  PeterJones
                                  last edited by

                                  @Bob-Boisvert said:

                                  I get the same behaviour, last two weeks

                                  I assume you mean the same behavior as that described 3 years ago: am I right? If so, what version are you using? Are you using the ancient version mentioned then? Or a more recent? You can use the ? menu, Debug Info > Copy debug info into clipboard and paste it in your reply.

                                  Are your actual symptoms identical to those described 3 years ago, or just vaguely similar? Please describe exactly what goes wrong with you, in a way that we can try to replicate.

                                  Did you try the steps mentioned above (ie, uninstall and reinstall)? Did it work for you? If not, what else have you tried?

                                  TL;DR:

                                  If you want help, you need to give more information. The things I asked above will help us help you, otherwise the best answer we can give is “you’re likely doing something wrong, because it works for us.”

                                  1 Reply Last reply Reply Quote 2
                                  • Alan KilbornA
                                    Alan Kilborn @Bob Boisvert
                                    last edited by

                                    @Bob-Boisvert said:

                                    same behaviour, last two weeks

                                    If you haven’t switched N++ versions in this time period, or maybe even if you have, I have wagering money that you have one of the find option checkboxes checked that you never had before you began having trouble.

                                    But an EIGHT word description of your problem isn’t going to get you much.

                                    1 Reply Last reply Reply Quote 1
                                    • Nick KatN
                                      Nick Kat
                                      last edited by

                                      same thing has just happened.
                                      I’ve never updated the notepad++ since the original installation.
                                      In just few hours FileSearch just stopped working. Reopening doesn’t help, didn’t try laptop restarting yet
                                      Here’s debug info
                                      Notepad++ v7.7.1 (32-bit)
                                      Build time : Jun 16 2019 - 21:14:50
                                      Path : C:\Program Files (x86)\Notepad++\notepad++.exe
                                      Admin mode : OFF
                                      Local Conf mode : OFF
                                      OS : Windows 7 (64-bit)
                                      Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll NppExport.dll NPPJSONViewer.dll

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

                                        @Nick-Kat said in Find in Files not working:

                                        In just few hours FileSearch just stopped working.

                                        You’re going to have to say more about what you mean by “stopped working”

                                        1 Reply Last reply Reply Quote 1
                                        • Greg gilchristG
                                          Greg gilchrist
                                          last edited by

                                          Had the same issue. Started about 2 weeks ago.

                                          Cause: Config file “DockingManager” BottomHeight is set to “0”. and should be “200”

                                          I tried updating it and restarting but the change would get reverted automatically.

                                          I Was able to get it working doing the following:

                                          1. Go to ~/Appdata/Roaming/Notepad++
                                            2, Rename the Config file to Config.old
                                          2. Restart Notepadd++
                                            The Config file will be recreated an Search will start working.

                                          Hope this helps.

                                          Vinish VV 1 Reply Last reply Reply Quote 0
                                          • Jose RosasJ
                                            Jose Rosas
                                            last edited by

                                            I fixed the issue just picking the edge of the lower pane and dragging it up. This is the same changing the bottomHeight value from 0 to anything.

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