VS2010 Edition Shortcut ctrl+e,d----formatting all code ctrl+e,f----formatting the selected code CTRL + SHIFT + B Build Solution Ctrl + F7 build Compile Ctrl + O Open File Ctrl + SHIFT + o Open Project ct RL + SHIFT + C Display Class View window F4 Display Properties window SHIFT + F4 Display Item Properties window CTRL + SHIFT + E display resource View F12 go To Definition Ctrl + F12 go to declaration Ctrl + ALT + J Object Browse Ctrl + ALT + F1 Help Directory Ctrl + F1 Dynamic Help F1 help shift + F1 Current Window Help Ctrl + ALT + F3 Help-search SHIFT + ALT + ENTER full Screen Ctrl +-Navigate backward Ctrl + SHIFT +-Position Ctrl forward + F4 Close the document window CTRL + PAGE DOWN cursor to the top of the window CTRL + PAGE UP cursor positioned to the bottom of the window Ctrl + F6ctrl + TAB next document window Ctrl + SHIFT + F6ctrl + SHIFT + TAB Previous Document window ALT + F6 next panel window Ctrl + K, CTRL + L Cancel Remarkctrl + K, CTRL + C comment Select Code CTRL + K, CTRL + U deselect comments on Selection code CTRL + M, CTRL + O collapse Code definition CTRL + M, CTRL + L expand Code Definition CTRL + DELETE Delete to final CTRL + BACKSPACE delete to prefix SHIFT + TAB Cancel Tabs Ctrl + U turn Lowercase Ctrl + SHIFT + U turn caps CTRL + SHIFT + End Select to end of document CTRL + SHIFT + HOME Select to end of document SHIFT + END Select to line end SHIFT + Home Select to line start SHIFT + ALT + END Vertical Select to last SHIFT + ALT + HOME Vertical selection To the front Ctrl + SHIFT + PAGE UP Select to front of this page CTRL + SHIFT + PAGE DOWN select to the back of this page Ctrl + END document Navigate to last Ctrl + Home document navigate to top Ctrl + a Select all Ctrl + W Choose Current single Word ctrl + G go to ... CTRL + K, CTRL + P previous label Ctrl + K, CTRL + N next label ALT + F10 Debug-applycodechangesctrl + ALT + BREAK stop Debug Ctrl + SHIFT + F9 cancel all breakpoints Ctrl + F9 Allow Interrupt Ctrl + SHIFT + F5 Debug-restart F5 Run Debug Ctrl + F5 run without Debugging F10 step through program execution F11 stepping through CTRL + J List Members Ctrl + PAGE down next View Ctrl + B format-Bold CTRL + SHI FT + t Format-text indent debug Shortcut F6: Build Solution Ctrl+f6: Build the current project F7: View Code shift+f7: View the form designer F5: Start debugging Ctrl+f5: Start Execution (not debug) Shift+f5: Stop Debugging ctrl+shift+ F5: Restart Debug F9: Toggle Breakpoint Ctrl+f9: Enable/Stop breakpoint CTRL+SHIFT+F9: Remove all Breakpoints F10: Step over CTRL+F10: Run to Cursor F11: Edit shortcut key by Statement shift+alt+enter: Toggle fullscreen Edit Ctrl + B,t/ctrl+k,k: Toggle Bookmark Switch Ctrl+b,n/ctrl+k,n: Move to Next bookmark ctrl+b,p: Move to previous bookmark Ctrl+b,c: Clear All Tags ctrl+i: progressive search Ctrl+shift+i: Reverse Incremental Search Ctrl+f: Find ctrl+shift+f: Find F3 in file: Find Next Shift+f3: Find previous ctrl+h: replace ctrl+shift+h: Replace alt+f12 in file: Find Symbol (List all find results) Ctrl+shift+v: Clipboard Loop Ctrl + LEFT and RIGHT arrow keys: You can move one word at a time Ctrl + UP and DOWN ARROW keys: Scroll the Code screen without moving the cursor position. Ctrl+shift+l: Delete Current row ctrl+m,m: Hides or expands the currently nested collapsed state ctrl+m,l: Set all procedures to the same hidden or expanded state ctrl+m,p: Stop outlining ctrl+e,s: View the blank ctrl+e,w: Wrap Ctrl+g: Go to the specified line shift+alt+ arrow key: Select rectangle text ALT + left mouse button: Select rectangle text ctrl+shift+u: All uppercase Ctrl+u: All becomes lowercase code shortcut ctrl+j/ctrl+k,l: ListMember ctrl+shift+ SPACEBAR/ctrl+k,p: Parameter information ctrl+k,i: Quick Info ctrl+e,c/ctrl+k,c: Comment selection ctrl+e,u/ctrl+k,u: Deselect comment content ctrl+k,m: Generate Method Stub ct Rl+k,x: Inserting a snippet ctrl+k,s: inserting an outer code F12: Go to the Definition window shortcut for the called procedure or variable ctrl+w,w: Browser window ctrl+w,s: Solution Manager Ctrl+w,c: Class View ctrl+w,e: Error List Ctrl+w , O: Output View ctrl+w,p: Properties Window ctrl+w,t: Task List ctrl+w,x: Toolbox ctrl+w,b: Bookmark window ctrl+w,u: Document Outline ctrl+d,b: Breakpoint window ctrl+d,i: Instant window Ctrl+tab: Active form Switch ctrl+shift+n: New project Ctrl+shift+o: Open Project Ctrl+shift+s: Save All Shift+alt+c: New class Ctrl+shift+a: Hidden shortcut keys for new item VS2005 Here I will share some of the shortcut keys that were inadvertently found in the VS2005, not all shortcuts, or some of the common shortcut keys. 1, Ctrl+space directly complete the class or function (originally this is not a hidden shortcut key, but because the Chinese input method to preempt this shortcut, so ... , the alternate shortcut is Alt+right) 2, shift+delete the entire row to delete, and put this line to the Clipboard (at this time can not select a section of content) 3, Shift+insert paste, a little strange, Ctrl + V can be, presumably for and shift+ Delete corresponding to the bar 4, Ctrl+up,ctrl+down Scroll editor, but try not to move the cursor, the cursor is guaranteed within the visible range 5, Ctrl+backspace,ctrl+delete whole word deleted, sometimes very useful 6, ctrl+left,ctrl+ Right moves the cursor by the whole word (not hidden, and the first few add up is the CTRL cursor Control suite) 7, ALT+SHIFT+F10 open to perform renaming, implement interface and abstract class small window (also can use CTRL +, but some Chinese input method used to this) 8, shift+ F9 debugging is to open QuickWatch, content is the current cursor where the content 9, F12 to jump to the definition, very useful shortcut keys 10, shift+f12 find all references---------------------------------------VS2008 shortcut keys Daquan----------------------------ctrl+m+crtr+o collapse All outline ctrl+m+crtr+p: Stop outlining ctrl+k+crtr+c: Comment Selection ctrl+k+ Crtr+u: Deselect comment content ctrl+j: List member IntelliSense shift+alt+enter: Toggle fullscreen edit ctrl+b,t/ctrl+k,k: Toggle Bookmark Switch Ctrl+b,n/ctrl+k,n: Move to next bookmark Ctrl+b,p: Move to previous bookmark Ctrl+b,c: Clear All Tags ctrl+i: Incremental search ctrl+shift+i: Reverse Incremental Search ctrl+f: Find ctrl+shift+f: Find F3 in a file: Find the next shift+f3: Find the previous ctrl+h : Replace ctrl+shift+h: Replace alt+f12 in file: Find Symbol (List all find results) Ctrl+shift+v: Clipboard Loop Ctrl + LEFT and RIGHT arrow keys: You can move one word at a time Ctrl + UP and DOWN ARROW keys: Scroll the Code screen without moving the cursor position. Ctrl+shift+l: Delete Current row ctrl+m,m: Hides or expands the currently nested collapsed state ctrl+m,l: Set all procedures to the same hidden or expanded state ctrl+e,s: View blank ctrl+e,w: Wrap ctrl+g: Go to the specified line shift+alt+ arrow key: Select rectangle text ALT + left mouse button: Select rectangle text ctrl+shift+u: All uppercase Ctrl+u: All becomes lowercase code shortcut ctrl+shift+ SPACEBAR/ctrl+k,p: Parameter information Ctrl +k,i: Quick Info ctrl+e,u/ctrl+k,u: Deselect comments ctrl+k,m: Generate Method Stub ctrl+k,x: Insert Snippet ctrl+k,s: Insert outside code F12: Go to the Definition window shortcut key for the called procedure or variable ctrl+w,w: browser window ctrl+w,s: Solution Manager Ctrl+w,c: Class View ctrl+w,e: Error List ctrl+w,o: Output View trl+w,p: Properties Window ctrl+w,t: Task List ctrl+w,x: Toolbox ctrl+w,b: Bookmark Window Ctrl+w,u: Document Outline ctrl+d,b: Breakpoints window ctrl+d,i: Immediate Window Ctrl+tab: active form Toggle Ctrl+shift+n: NewProject Ctrl+shift+o: Open Project Ctrl+shift+s: Save All Shift+alt+c: New class Ctrl+shift+a: New Item Shift+alt+enter: Toggle fullscreen edit ctrl+b,t/ctrl+k,k: Toggle Bookmark Switch Ctrl+b,n/ctrl+k,n: Move to Next bookmark ctrl+b,p: Move to previous bookmark Ctrl+b,c: Clear All Tags ctrl+i: Incremental search ctrl+shift+i: Reverse Incremental Search ctrl+f: Find Ctrl + Shift+f: Find F3 in file: Find Next Shift+f3: Find previous ctrl+h: replace ctrl+shift+h: Replace alt+f12 in file: Find Symbol (List all find results) Ctrl+shift+v: Clipboard Loop Ctrl + Left and RIGHT ARROW keys: You can move one word at a time Ctrl + UP and DOWN ARROW keys: Scroll the Code screen without moving the cursor position. Ctrl+shift+l: Delete Current row ctrl+m,m: Hides or expands the currently nested collapsed state ctrl+m,l: Set all procedures to the same hidden or expanded state ctrl+m,p: Stop outlining ctrl+e,s: View the blank ctrl+e,w: Wrap Ctrl+g: Go to the specified line shift+alt+ arrow key: Select rectangle text ALT + left mouse button: Select rectangle text ctrl+shift+u: All uppercase Ctrl+u: all becomes lowercase
VS2010 shortcut keys Daquan