Saturday, June 20, 2009

Visual Studio 2008 / 2010 Shortcuts

VS2010 Specific
Ctrl+Shift+. - Increase text by 10%
Ctrl+Shift+, - Decrease text by 10%


Shortcuts
Ctrl+K, C - Comment selected block, Ctrl+K, U - Un-comment selected block
Ctrl+K, X - Insert snippet (or tab after snippet name)
Ctrl+K, S - Surround with snippet
Ctrl+K, M - Insert stub for a new method
Ctrl+. - Smart tag menu

Ctrl+Shift+R - Record temp macro
Ctrl+Shift+P - Play temp macro

Ctrl+X - cuts line if no selection
Ctrl+Shift+V - Cycle thru clipboard history

Ctrl+I - Incremental search
Ctrl+G - Go to line number
Ctrl+Shift+F - Find in all files
Ctrl-W - Select current word
Ctrl-] - Go to matching brace
Ctrl+PgUp & Ctrl+PgDn Toggle between Aspx Design View and and HTML View
Ctrl+Alt+Down - Popup open documents

F9 - insert/remove a breakpoint
F12 - Go To Definition


VS2010 Links:
http://amazedsaint.blogspot.com/2010/04/6-cool-vs2010-quick-tips-you-should.html

VS2008 Links:
http://www.codinghorror.com/blog/archives/000315.html
http://blogs.msdn.com/shaykatc/archive/2004/03/04/83993.aspx
http://www.dev102.com/2008/04/17/10-visual-studio-shortcuts-you-must-know/
http://www.dev102.com/2008/05/06/11-more-visual-studio-shortcuts-you-should-know/
http://blogs.msdn.com/SaraFord/

Add External Tools
Reflector, C:\...\Reflector.exe, $(TargetPath), $(TargetDir)

VS 2008 Extensions
PowerCommands for Visual Studio 2008:
http://code.msdn.microsoft.com/PowerCommands
VS2008 Web Deployment System Projects

No comments:

Post a Comment