• Login
Community
  • Login

Find in Files not working

Scheduled Pinned Locked Moved General Discussion
37 Posts 18 Posters 37.7k 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.
  • G
    George Marshall
    last edited by Apr 6, 2016, 11:16 PM

    Sometimes in the last few releases, Find in Files quit working for me. It tries the search,. I see the progress bar, but it never finds any matches, even though there are a lot of them - which I can verify with another editor.
    What am I missing?

    Details:
    Simple character string search, Normal mode, no options set.
    Current version 6.9.1, but it’s been this way over the last few versions.

    Thanks.

    1 Reply Last reply Reply Quote 0
    • K
      kawinga
      last edited by kawinga Apr 7, 2016, 10:06 AM Apr 7, 2016, 10:06 AM

      Hello,

      do you use the Filter “*.*”?

      Are File-System-Rights given?

      KR, Robert

      1 Reply Last reply Reply Quote 0
      • G
        George Marshall
        last edited by Apr 7, 2016, 7:05 PM

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

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

        C 1 Reply Last reply Apr 7, 2016, 10:07 PM Reply Quote 0
        • C
          Claudia Frank @George Marshall
          last edited by Apr 7, 2016, 10:07 PM

          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
          • G
            George Marshall
            last edited by Apr 8, 2016, 12:50 AM

            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.

            C 1 Reply Last reply Apr 8, 2016, 12:58 AM Reply Quote 0
            • C
              Claudia Frank @George Marshall
              last edited by Apr 8, 2016, 12:58 AM

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

              Cheers
              Claudia

              1 Reply Last reply Reply Quote 0
              • G
                George Marshall
                last edited by Apr 8, 2016, 6:19 AM

                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
                • C
                  Claudia Frank
                  last edited by Apr 8, 2016, 10:50 PM

                  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
                  • G
                    George Marshall
                    last edited by Apr 20, 2016, 7:36 PM

                    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
                    • M
                      Mark Kentwell
                      last edited by May 1, 2016, 11:16 PM

                      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
                      • G
                        Guillermo Lubary
                        last edited by Apr 21, 2017, 11:50 AM

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

                        1 Reply Last reply Reply Quote 0
                        • H
                          hugh jackman
                          last edited by hugh jackman Oct 19, 2018, 6:11 AM Oct 19, 2018, 6:10 AM

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

                          1 Reply Last reply Reply Quote 0
                          • P
                            pinchies
                            last edited by pinchies Feb 27, 2019, 5:53 AM Feb 27, 2019, 5:50 AM

                            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 Feb 27, 2019, 2:55 PM

                              @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 Jul 19, 2019, 4:04 PM

                                I get the same behaviour, last two weeks

                                Alan KilbornA 1 Reply Last reply Jul 19, 2019, 5:25 PM Reply Quote 0
                                • PeterJonesP
                                  PeterJones
                                  last edited by Jul 19, 2019, 4:37 PM

                                  @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 Jul 19, 2019, 5:25 PM

                                    @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 Sep 19, 2020, 3:48 AM

                                      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 Sep 19, 2020, 2:08 PM Reply Quote 0
                                      • Alan KilbornA
                                        Alan Kilborn @Nick Kat
                                        last edited by Sep 19, 2020, 2:08 PM

                                        @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 Sep 25, 2020, 2:37 PM

                                          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 Jul 26, 2024, 4:48 PM Reply Quote 0
                                          • First post
                                            Last post
                                          The Community of users of the Notepad++ text editor.
                                          Powered by NodeBB | Contributors