VisualStudio "Find in files" not working

Oct 15, 2011 Posted by Lara Kannan 0 comments
The "Find in files" function of Visual Studio (2008 or 2010) stops working. Whatever I search for it always says "No files were found to look in. Find was stopped in progress". It is very annoying. Since I have only found solution in blog.

The solution is to press Control + Scroll Lock and all is fixed. It works smart! :)

At present, the workaround is to press
  • Ctrl + Scroll Lock
  • Ctrl + Break
  • The Break key alone
  • ALT + Break
  • ALT + Scroll Lock



VS Macro / Shortcuts to Expand / Collapse all regions

Oct 14, 2011 Posted by Lara Kannan 0 comments
CTRL+M CTRL+M (that's two key presses!) - Collapse / Open the current parent region

CTRL+M CTRL+L - Collapse / Open all regions in document recursively (meaning you might get only one line in the document - one big namespace region which is collapsed or you'll see the entire page code uncollapsed)

CTRL+M CTRL+O - Collapse all regions not recursively.