Ctrl+e,d----Formatting All the code (if this is not possible: Ctrl + K + D) ctrl+e,f----Formatting the selected code ctrl+j or Ctrl+space or Alt+right- -----Auto-Complete or prompt (Ctrl+space because the Chinese input method is preempted, the alternative shortcut key alt+right shitf+delete (ctrl+l)-----Delete the entire line of code (I think it is useful) shitf+ Home-------Select the cursor to the first letter of the shitf+end-------Select the cursor to the last letter of the row ctrl+shitf+end-------Select to the end of the document ctrl+shitf+ Home-------Select to start at the end of the document ALT + left mouse button------Select Hold Area (this way to delete comments effectively!) Ctrl + +delete-------Delete to the ending (delete a word without a single letter deleted) Ctrl + BACKSAPCE--------Delete to prefix ctrl+shitf+ Key--------Select the entire word (mainly used to copy one or more words) Ctrl + around--------Skip the whole word (no more skipping letters) CTRL + Down--------scroll the page (scroll editor Let's not use the mouse to scroll the page out of the mouse's bondage!! )
(3) Below are some of the less common but very comprehensive shortcut keys
CTRL + SHIFT + B Build Solution Ctrl + F7 generate compile Ctrl + O Open File Ctrl + SHIFT + O Open Project CTRL + SHIFT + C Display Class View window F4 Display Properties window SHIFT + F4 Display Item Properties window CTRL + SHIFT + E Show 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 fullscreen display CTRL +-Position CTRL + SHIFT +-Navigate forward Ctrl + F4 close document window CTRL + PAGE down cursor over window CTRL + PAGE up cursor navigates to the bottom of the window Ctrl + F6 CTRL + TAB next document window Ctrl + SHIFT + F6 CTRL + SHIFT + TAB Previous document window ALT + F6 next panel window Ctrl + K, CTRL + L Cancel Remark Ctrl + K, CTRL + C Note The code selected by CTRL + K, CTRL + U cancels the comment on the selection code CTRL + M, CTRL + O collapse Code Definition CTRL + M, CTRL + L expand Code Definition SHIFT + TAB Cancel Tab CTRL + U turn Lowercase Ctrl + SHIFT + U turn Capital Shift + End Select to end of line Shif T + Home Select to line start SHIFT + ALT + END Vertical Select to last SHIFT + ALT + HOME Vertical Select to front CTRL + SHIFT + PAG E up Select to the front of this page Ctrl + SHIFT + PAGE DOWN select to the back of this page Ctrl + END document Navigate to last Ctrl + Home document to top CTRL + a All CTRL + W Select the current Word Ctrl + G go to ... CTRL + K, CTRL + P previous label Ctrl + K, CTRL + N next label ALT + F10 Debug-applycodechanges Ctrl + AL t+ break Stop Debugging CTRL + SHIFT + F9 cancel all breakpoints Ctrl + F9 allow interrupt Ctrl + SHIFT + F5 Debug-Start again F5 Run Debug Ctrl + F5 run without Debugging F10 Step over program execution F11 stepping through CTRL + J List Members Ctrl + PAGE Down next View Ctrl + B format-Bold CTRL + SHIFT + t format-text indent debug Shortcut F6: Build Solution CTRL+F6: Build Current project F7: View Code shift+f7: View Form SetMeter F5: Start Debug Ctrl+f5: Start (not debug) Shift+f5: Stop Debugging Ctrl+shift+f5: Restart debugging F9: Toggle Breakpoint Ctrl+f9: Enable/Stop breakpoint CTRL+SHIFT+F9: Delete all breakpoints F10: Step over CTRL+F10: Run to Cursor F11: Edit shortcut keys Shift+alt+enter: Toggle Full Screen editing 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 the 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 outline Show Ctrl+e,s: View blank ctrl+e,w: FromStayput line 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 becomes Uppercase Ctrl+u: All changes to lowercase code shortcut ctrl+j/ctrl+k,l: List members 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 ctrl+k,x: Insert Snippet ctrl+k,s: Insert the outer 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 Ctr L+w,o: Output View ctrl+w,p: Properties Window ctrl+w,t: Task List ctrl+w,x: Toolbox ctrl+w,b: Bookmarks window Ctrl+w,u: Document Outline ctrl+d,b: Breakpoint window ctrl+d,i: Immediate Window Ctrl+tab: active form Toggle Ctrl+shift+n : New Project Ctrl+shift+o: Open Project Ctrl+shift+s: Save All Shift+alt+c: New class Ctrl+shift+a: New Item---------------------------------------VS2008 shortcut key Daquan----------------------------ctrl+m+crtr+o collapse All outlines 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 Full Screen editing 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 Ctr L+shift+h: Replace alt+f12 in file: Find Symbol (List all find results) Ctrl+shift+v: Clipboard Loop Ctrl + LEFT and RIGHT arrow keys: One word can be moved at a time CTRL + UP and DOWN ARROW keys: Scrolls the code screen, but does not move 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 into uppercase ctrl+u: All lowercase code shortcut ctrl+shift+ empty SPACEBAR/CTRL+K,P: Parameter information ctrl+k,i: Quick Info ctrl+e,u/ctrl+k,u: Deselect comment content ctrl+k,m: Generate Method Stub Ctrl+k,x: Inserting snippet ctrl+k,s: inserting an outer code F12: Go to the Definition window shortcut key for the procedure or variable you are calling 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 TR L+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: Immediate Window Ctrl+tab: active form Toggle Ctrl+shift+n: New Project Ctrl+sh Ift+o: Open Project Ctrl+shift+s: Save All Shift+alt+c: New class Ctrl+shift+a: New Item Shift+alt +enter: Toggle Full Screen editing ctrl+b,t/ctrl+k,k: Toggle Bookmark Switch Ctrl+b,n/ctrl+k,n: Move to Next bookmark Ctrl+b,p: Move to Top A bookmark ctrl+b,c: Clear all Tags ctrl+i: Incremental search ctrl+shift+i: Reverse Incremental Search ctrl+f: Find ctrl+shift+f: Find in Files F3: Find Next Shift+f3: Find previous ctrl+h: replace ctrl+shift+h: Replace alt+f12 in file: Find Symbols (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 outline Show 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 the rectangle text ctrl+shift+u: All to uppercase ctrl+u: all becomes lowercase
Vs Common Shortcut keys