VS2010 stops responding to mouse clicks

Solution:

Try CTRL+SHIFT+R keys.

Advertisements

Visual Studio Shortcuts

Auto indent code : press Ctrl+K and then press Ctrl+F

Comment Code :  press Ctrl+K and then press Ctrl+C

Uncomment Code :  press Ctrl+K and then press Ctrl+U



Visual Studio – Expand and Collapse Regions

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

Courtesy : http://www.charlesrcook.com/archive/2008/08/22/visual-studio–expand-all-regions-and-rockscroll.aspx