none
"Find in files" stops working for no apparent reason

    Question

  • Hi folks,

    The (heavily used) command "Find in files" from the Visual Studio 2005 IDE just stopped working for me for some reason. Attached below are the search parameters that should return most of my files:

    Find all "A", Subfolders, Find Results 1, "c:\", "*.*"
      No files were found to look in.
      Find was stopped in progress.

    Looking around a bit, I've noticed that this problem was also present in previous versions of the IDE (namely, .NET). The solutions mentioned for this problem didn't work (yes, I even tried the infamous <Ctrl>+<Scroll Lock> combo). Any ideas?

    Cheers,
    Laurentiu
    Monday, March 20, 2006 4:52 PM

Answers

  • Please log a bug at http://lab.msdn.microsoft.com/productfeedback/default.aspx for the issue so that the owners could take a look. Also, please reply back with the bug links so that others can follow on the status.

    Thanks in advance for logging the issue.

    Thanks,
    Ayman Shoukry
    VC++ Team
    Monday, March 20, 2006 6:19 PM
    Moderator
  • A bug has already been filled for this behavior:

    http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=aca7ce71-31c7-421c-845d-61ab9b1b3c3c

    Workaround is: reboot (did work in my case). Sadly, the bug has been flagged as "Could not be reproduced" - which is understandable, considering that I've been using VS2005 for a few months before it manifested itself. So until someone stumbles across a consistent reproduction scenario, we're left with little choice but reboot.
    Tuesday, March 21, 2006 12:34 PM

All replies

  • Please log a bug at http://lab.msdn.microsoft.com/productfeedback/default.aspx for the issue so that the owners could take a look. Also, please reply back with the bug links so that others can follow on the status.

    Thanks in advance for logging the issue.

    Thanks,
    Ayman Shoukry
    VC++ Team
    Monday, March 20, 2006 6:19 PM
    Moderator
  • A bug has already been filled for this behavior:

    http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=aca7ce71-31c7-421c-845d-61ab9b1b3c3c

    Workaround is: reboot (did work in my case). Sadly, the bug has been flagged as "Could not be reproduced" - which is understandable, considering that I've been using VS2005 for a few months before it manifested itself. So until someone stumbles across a consistent reproduction scenario, we're left with little choice but reboot.
    Tuesday, March 21, 2006 12:34 PM
  • this bug does exist in both v7 and v8 IDEs.  easiest fix is to abort a compile via ctrl-break. 

    so ... just edit any file ... hit F7 ... then ctrl-break.  FIF will be "fixed".

    al

     

    Thursday, May 18, 2006 4:26 PM
  • That's cool, someone else also mentioned that hitting CTRL + Scroll Lock seems to fix it too.

     

    Friday, May 19, 2006 5:55 PM
  •  Ted. wrote:

    That's cool, someone else also mentioned that hitting CTRL + Scroll Lock seems to fix it too.

     

    YES!!! Thanks so much. Ctrl + Scroll Lock did the trick for me - instant fix. Bizarre bug, but I'm glad it's now gone.

    Friday, February 09, 2007 5:30 PM
  •  

    It happened to me yesterday in Visual Studio 2005 SP1 on Windows XP Professional SP2. Restarting VS2005 didn't fix it. The Ctrl + Scroll Lock fixed it for me.

     

    Interestingly, I can reproduce the problem by pressing Ctrl + Scroll Lock, then doing another find in files. Sometimes it takes 2 or 3 tries to get it to happen. Pressing Ctrl + Scroll Lock then fixes it every time.

     

    I've put this information in the MS Bug report.

    Friday, July 27, 2007 3:55 AM