{"id":164,"date":"2013-04-02T10:40:44","date_gmt":"2013-04-02T15:40:44","guid":{"rendered":"http:\/\/homepages.uc.edu\/~yaozo\/wordpress\/?p=164"},"modified":"2013-04-02T10:40:44","modified_gmt":"2013-04-02T15:40:44","slug":"visual-studio-2010-shortcuts","status":"publish","type":"post","link":"https:\/\/zhuoyao.net\/index.php\/2013\/04\/02\/visual-studio-2010-shortcuts\/","title":{"rendered":"Visual Studio 2010 Shortcuts"},"content":{"rendered":"<h2>Table of Contents:<\/h2>\n<ol>\n<li><a href=\"http:\/\/www.shortcutworld.com\/en\/win\/Visual-Studio_2010.html#link_1\">Manage Visual Studio<\/a><\/li>\n<li><a href=\"http:\/\/www.shortcutworld.com\/en\/win\/Visual-Studio_2010.html#link_2\">Bookmarks<\/a><\/li>\n<li><a href=\"http:\/\/www.shortcutworld.com\/en\/win\/Visual-Studio_2010.html#link_3\">Code Editor<\/a><\/li>\n<li><a href=\"http:\/\/www.shortcutworld.com\/en\/win\/Visual-Studio_2010.html#link_4\">Coding<\/a><\/li>\n<li><a href=\"http:\/\/www.shortcutworld.com\/en\/win\/Visual-Studio_2010.html#link_5\">Build and Debug<\/a><\/li>\n<li><a href=\"http:\/\/www.shortcutworld.com\/en\/win\/Visual-Studio_2010.html#link_6\">Tool Windows<\/a><\/li>\n<\/ol>\n<p><a name=\"link_1\"><\/a><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<th colspan=\"2\"><img decoding=\"async\" alt=\"minus\" src=\"http:\/\/www.shortcutworld.com\/images\/minus.gif\" \/>1. Manage Visual Studio<\/th>\n<\/tr>\n<tr>\n<td>Ctrl+s<\/td>\n<td>Save current file<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+s<\/td>\n<td>Save all files<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+n<\/td>\n<td>Create\u00a0new project<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+o<\/td>\n<td>Open file<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+o<\/td>\n<td>Open project<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+a<\/td>\n<td>Add item to project<\/td>\n<\/tr>\n<tr>\n<td>Esc<\/td>\n<td>Close menu or dialog<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+p<\/td>\n<td>Print<\/td>\n<\/tr>\n<tr>\n<td>Shift+Alt+Enter<\/td>\n<td>Toggle full screen mode<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+f4<\/td>\n<td>Close current tab<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+f6\/Ctrl+Shift+f6<\/td>\n<td>Go to next \/ go to previous window<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Tab, then\u00a0Arrow keys<\/td>\n<td>Press and hold\u00a0Ctrl+Tab, then using\u00a0arrow keys\u00a0gives a small task manager with all open files and views<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u25b2 up<\/p>\n<p><a name=\"link_2\"><\/a><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<th colspan=\"2\"><img decoding=\"async\" alt=\"minus\" src=\"http:\/\/www.shortcutworld.com\/images\/minus.gif\" \/>2. Bookmarks<\/th>\n<\/tr>\n<tr>\n<td colspan=\"2\">For keystrokes with two keys such as\u00a0Ctrl+k+k, keep holding the\u00a0Ctrl\u00a0key until releasing the last key.<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+k<\/td>\n<td>Toogle bookmark<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+n<\/td>\n<td>Goto\u00a0next bookmark<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+p<\/td>\n<td>Goto\u00a0previous bookmark<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+k+n<\/td>\n<td>Goto\u00a0next bookmark in folder<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+k+p<\/td>\n<td>Goto\u00a0previous bookmark in folder<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+w<\/td>\n<td>Put focus on bookmark\u00a0window<\/td>\n<\/tr>\n<tr>\n<td>Esc<\/td>\n<td>Leave bookmark window and focus on editor<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+h<\/td>\n<td>Toggle code shortcut at current line*<\/td>\n<\/tr>\n<tr>\n<td>Ctrl\u00a0+\u00a0K\u00a0+\u00a0L<\/td>\n<td>Clear all bookmarks<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">*if somebody figures out additional shortut keys on how to use code shortcuts, please edit this page and add.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u25b2 up<\/p>\n<p><a name=\"link_3\"><\/a><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<th colspan=\"2\"><img decoding=\"async\" alt=\"minus\" src=\"http:\/\/www.shortcutworld.com\/images\/minus.gif\" \/>3. Code Editor<\/th>\n<\/tr>\n<\/tbody>\n<\/table>\n<div>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<th colspan=\"2\"><img decoding=\"async\" alt=\"minus\" src=\"http:\/\/www.shortcutworld.com\/images\/minus.gif\" \/>Find, Replace, and Goto<\/th>\n<\/tr>\n<tr>\n<td>Ctrl+f<\/td>\n<td>Find and replace dialog box<\/td>\n<\/tr>\n<tr>\n<td>f3\/Shift+f3<\/td>\n<td>Find next \/ find previous<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+h<\/td>\n<td>Display Replace options on the quick tab<\/td>\n<\/tr>\n<tr>\n<td>Shift+f12<\/td>\n<td>Find all references for selected symbol<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+f<\/td>\n<td>Find in files<\/td>\n<\/tr>\n<tr>\n<td>Alt+F3,\u00a0s<\/td>\n<td>Stop current find in files operation<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+F3\/Ctrl+Shift+f3<\/td>\n<td>Find next \/ find previous in selected text<\/td>\n<\/tr>\n<tr>\n<td>Alt+F12<\/td>\n<td>Find symbol<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+d<\/td>\n<td>Put cursor in find\/command box of the toolbar. Use\u00a0ctrl+\/\u00a0in Visual C#<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+i\/Ctrl+Shift+i<\/td>\n<td>Incremental search \/ reverse incremental search<\/td>\n<\/tr>\n<tr>\n<td>Shift+Alt+f12<\/td>\n<td>Quick find symbol<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+,<\/td>\n<td>Display Navigate-To dialog box<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+g<\/td>\n<td>Goto line number<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+]<\/td>\n<td>Go to matching brace in source file<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div><\/div>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<th colspan=\"2\"><img decoding=\"async\" alt=\"minus\" src=\"http:\/\/www.shortcutworld.com\/images\/minus.gif\" \/>Undo, Redo, Copy, Paste<\/th>\n<\/tr>\n<tr>\n<td>Ctrl+x, Ctrl+x, Ctrl+v<\/td>\n<td>Cut, copy, paste<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+v<\/td>\n<td>Pastes an item from the Clipboard ring<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+z<\/td>\n<td>Undo<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+y<\/td>\n<td>Redo (or\u00a0Shift+Alt+Backspace, or\u00a0Ctrl+Shift+Z)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div><\/div>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<th colspan=\"2\"><img decoding=\"async\" alt=\"minus\" src=\"http:\/\/www.shortcutworld.com\/images\/minus.gif\" \/>Select Text<\/th>\n<\/tr>\n<tr>\n<td>Shift+Arrow Keys<\/td>\n<td>Extend selection one character\/one line<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+End\/Ctrl+Shift+Home<\/td>\n<td>Extend selection to end \/ to beginning of document<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+]<\/td>\n<td>Extend selection to nexst brace<\/td>\n<\/tr>\n<tr>\n<td>Shift+End\/\u00a0Shift+Home<\/td>\n<td>Extend selection to end \/ to beginning of line<\/td>\n<\/tr>\n<tr>\n<td>Shift+Page Down\/Shift+Page Up<\/td>\n<td>Extends selection down one page \/ up one page<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+w<\/td>\n<td>Select current\u00a0word<\/td>\n<\/tr>\n<tr>\n<td>Esc<\/td>\n<td>Cancel Selection<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+Page Down\/Page Up<\/td>\n<td>Moves cursor and extend selection to the last line \/ first line in view.<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+Arrow right\/arrow left<\/td>\n<td>Extend selection one word to the right \/ one word to the left<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+a<\/td>\n<td>Select\u00a0All<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div><\/div>\n<\/div>\n<p>\u25b2 up<\/p>\n<p><a name=\"link_4\"><\/a><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<th colspan=\"2\"><img decoding=\"async\" alt=\"minus\" src=\"http:\/\/www.shortcutworld.com\/images\/minus.gif\" \/>4. Coding<\/th>\n<\/tr>\n<\/tbody>\n<\/table>\n<div>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<th colspan=\"2\"><img decoding=\"async\" alt=\"minus\" src=\"http:\/\/www.shortcutworld.com\/images\/minus.gif\" \/>Collapse Items<\/th>\n<\/tr>\n<tr>\n<td>Ctrl+m+m<\/td>\n<td>Collapse \/ un-collapse current preset area (e.g. method)<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+m+h<\/td>\n<td>Collpase \/\u00a0hide current selection<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+m+o<\/td>\n<td>Collapse declaration bodies<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+m+a<\/td>\n<td>Collapse\u00a0all<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+m+x<\/td>\n<td>Uncollapse all<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+m,\u00a0ctrl+t<\/td>\n<td>Collapse Html tag<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div><\/div>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<th colspan=\"2\"><img decoding=\"async\" alt=\"minus\" src=\"http:\/\/www.shortcutworld.com\/images\/minus.gif\" \/>Edit Code<\/th>\n<\/tr>\n<tr>\n<td>Ctrl+l<\/td>\n<td>Delete current line or selection of lines to and add to clipboard<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+l<\/td>\n<td>Delete current line or selection of lines<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Delete<\/td>\n<td>Delete word to right of cursor<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Backspace<\/td>\n<td>Delete word to left of cursor<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Enter<\/td>\n<td>Enter blank line above cursor<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+Enter<\/td>\n<td>Enter blank line below cursor<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+u<\/td>\n<td>Make\u00a0uppercase<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+u<\/td>\n<td>Make lowercase (reverse\u00a0upercase)<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+c<\/td>\n<td>Comment selected text<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+u<\/td>\n<td>Uncomment selected text<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+\\<\/td>\n<td>Remove white space and tabs in selection or around current cursor position<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+d<\/td>\n<td>Format document to code formatting settings<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+f<\/td>\n<td>Format selection to code formatting settings<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+space<\/td>\n<td>Display parameter required for selected method<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+8<\/td>\n<td>Visualize\u00a0whitespace (or press\u00a0Ctrl+r, then\u00a0Ctrl+w)<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+d<\/td>\n<td>Format document to code formatting settings<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+f<\/td>\n<td>Format selection to code formatting settings<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+t<\/td>\n<td>Transpose word to right of cursor; makes b=a out of a=b if cursor was in front of a<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+t<\/td>\n<td>Transpose character left and right of cursor; cursor between ab would make ba<\/td>\n<\/tr>\n<tr>\n<td>Shift+Alt+t<\/td>\n<td>Transpose line: Move line below cursor up and current line down.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div><\/div>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<th colspan=\"2\"><img decoding=\"async\" alt=\"minus\" src=\"http:\/\/www.shortcutworld.com\/images\/minus.gif\" \/>IntelliSense and Code Helper<\/th>\n<\/tr>\n<tr>\n<td>Ctrl+Space<\/td>\n<td>Autocomplete word from completion list (or\u00a0alt+right arrow)<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+Space<\/td>\n<td>Show parameter info<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+f12<\/td>\n<td>Display symbol definition<\/td>\n<\/tr>\n<tr>\n<td>f12<\/td>\n<td>Display symbol declaration<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+j<\/td>\n<td>Open IntelliSense completion list<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div><\/div>\n<\/div>\n<p>\u25b2 up<\/p>\n<p><a name=\"link_5\"><\/a><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<th colspan=\"2\"><img decoding=\"async\" alt=\"minus\" src=\"http:\/\/www.shortcutworld.com\/images\/minus.gif\" \/>5. Build and Debug<\/th>\n<\/tr>\n<tr>\n<td>f7<\/td>\n<td>Build solution (or\u00a0Ctrl+shift+b)<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Alt+f7<\/td>\n<td>Rebuild solution<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+break<\/td>\n<td>Cancel build process<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+\\+e<\/td>\n<td>Show\u00a0error list<\/td>\n<\/tr>\n<tr>\n<td>f9<\/td>\n<td>Toggle breakpoint<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+b<\/td>\n<td>Insert new function\u00a0breakpoint<\/td>\n<\/tr>\n<tr>\n<td>f5<\/td>\n<td>Start debugging<\/td>\n<\/tr>\n<tr>\n<td>f11<\/td>\n<td>Debug \/ step into<\/td>\n<\/tr>\n<tr>\n<td>f10<\/td>\n<td>Debug \/ step over<\/td>\n<\/tr>\n<tr>\n<td>Shift+f11<\/td>\n<td>Debug \/ step out<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+f10<\/td>\n<td>Debug \/ run to cursor<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Alt+q<\/td>\n<td>Show\u00a0Quickwatch window<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+f10<\/td>\n<td>Set current statement to be the next executed<\/td>\n<\/tr>\n<tr>\n<td>Alt+*\u00a0(on numeric keyboard)<\/td>\n<td>Show nexst statement<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Alt+e<\/td>\n<td>Show\u00a0Exception dialog box<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+f11<\/td>\n<td>Toggle between disassembly and user code view<\/td>\n<\/tr>\n<tr>\n<td>Shift+f5<\/td>\n<td>Stop Debugging<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+f5<\/td>\n<td>Bypass debugger<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Alt+p<\/td>\n<td>Show attach to\u00a0process window<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Alt+break<\/td>\n<td>Break all executing threads<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u25b2 up<\/p>\n<p><a name=\"link_6\"><\/a><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<th colspan=\"2\"><img decoding=\"async\" alt=\"minus\" src=\"http:\/\/www.shortcutworld.com\/images\/minus.gif\" \/>6. Tool Windows<\/th>\n<\/tr>\n<tr>\n<td>Ctrl+\/<\/td>\n<td>Put cursor in the find\/command box in toolbar<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+b<\/td>\n<td>Open code snippet manager window<\/td>\n<\/tr>\n<tr>\n<td>Alt+f11<\/td>\n<td>Open macro IDE window<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+k+w<\/td>\n<td>Open bookmark window<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Alt+k<\/td>\n<td>Open call hierarchy window<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+c<\/td>\n<td>Open\u00a0class view window<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Alt+a<\/td>\n<td>Open Command window<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+o<\/td>\n<td>Open\u00a0Output window<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+e<\/td>\n<td>Open Resource view window<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Alt+s<\/td>\n<td>Open\u00a0Server explorer window<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+Shift+l<\/td>\n<td>Open Solution explorer window<\/td>\n<\/tr>\n<tr>\n<td>Shift+Esc<\/td>\n<td>Close Find &amp; Replace Window<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u25b2 up<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Table of Contents: Manage Visual Studio Bookmarks Code Editor Coding Build and Debug Tool Windows 1. Manage Visual Studio Ctrl+s Save current file Ctrl+Shift+s Save&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-164","post","type-post","status-publish","format-standard","hentry","category-visual-studio-2010"],"_links":{"self":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/comments?post=164"}],"version-history":[{"count":0,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts\/164\/revisions"}],"wp:attachment":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/media?parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/categories?post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/tags?post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}