Visual Studio 2013 shortcut Keys Daquan

Source: Internet
Author: User






CTRL e,c Annotation Select row

CTRL E,u Uncomment selected rows






CTRL k,f Indent Selected rows


















1. Go back to the previous cursor position/advance to the next cursor position






1) Go back to the previous cursor position: Use the combo key "Ctrl +-";






2) advance to the next cursor position: "Ctrl + Shift +-".






2. Copy/cut/delete entire line of code






1) If you want to copy a whole line of code, just move the cursor to that line, and then use the combo key "CTRL + C" to complete the copy operation without selecting the entire row.






2) If you want to cut a whole line of code, simply move the cursor to that line, and then use the combo key "Ctrl+x" to complete the cut without selecting the entire row.






3) If you want to delete a whole line of code, simply move the cursor to that line, and then use the combo key "Ctrl+l" to complete the cut without selecting the entire row.






3. Revocation/anti-revocation






1) Revoke: Use the combination key "Ctrl + Z" to cancel the operation;






2) Anti-revocation: Use the combo key "Ctrl+y" for anti-undo operation.






4. Forward/Backward Search






1) Use the combination key "Ctrl+i";






2) Type the text you want to search (move the cursor to the search Word input box to start typing);






3) After you type the search text, you can use the combination key "Ctrl+i" and "ctrl+shift+i" to locate the search results before and after the search results are highlighted.






4) to end the search, you can press the "ESC" key or click the Close button on the right side of the Find box.






[Supplemental] After selecting a word, pressing the combo key "Ctrl+f" also brings up the lookup box, and the search results are highlighted.






5. Box-Type selection






Use the combo key "shift+alt+ arrow keys (or mouse)" To complete the box selection. Box selection allows you to select both lines of code and columns. This is very handy for deleting some code in bulk.






6. Insert a row above or below the line where the cursor is located






1) key combination "Ctrl+enter": Insert a blank line above the current line;






2) key combination "Ctrl+shift+enter": Inserts a blank line below the current line.






7. Navigate to the beginning and end of the line






1) Home key: Navigates to the beginning of the current line;






2) End key: Navigates to the end of the line at the current line.






8. Select the code between the start of the cursor and the beginning of the line (tail)






1) Select the code from the cursor to the beginning of the line: Use the combo key "Cshift + Home";






2) Select the code from the cursor to the end of the line: Use the key combination "Shift + END".






9. Quick Insert Code block






Please refer to my other article.






10. Invoke Smart Hints






1) Method 1: Use the combination key "Ctrl+j";






2) Method 2: Use the composite key "alt+→".






11. Calling parameter information hints






For some functions with large functions, it is difficult to easily confirm the use of parameters within the function. At this point you can put the cursor on the parameter name, and then press the key combination "ctrl+shif+ space", where the parameters are used will be highlighted.






12. Quick Switch Window






Use the combo Key "Ctrl+tab" (You can now open the IDE's navigation to get a bird's eye view).






13. Quickly hide or show the current code snippet






Use the combo Key "Ctrl+m,m" (Remember: to press two times M OH).






14. Build a solution






Use the combo key "Ctrl+shift+b".






15. Jump to a specified line






1) Method 1: Combination key "Ctrl+g";






2) Method 2: Click the line number in the status bar.






16. Commenting/Canceling comments






1) Note: Combination key "Ctrl+k+c";






2) Uncomment: Combine key "Ctrl+k+u".






17. Full Screen Display/exit full screen display






Use the combo key "SHIFT + ALT + ENTER".






18. Definitions and references






1) Jump to Definition: F12;






2) Find All references: Use the combo key "Shift+f12".






19. Find and replace






1) Find: Use the combination key "Ctrl+f";






2) Replace: Use the combo key "Ctrl+h".






20. Case Conversion






1) Turn lowercase: Use the combination key "Ctrl + U";






2) Capitalize: Use the combo key "CTRL + SHIFT + U".






21. Debugging related






1) Commissioning (start): F5;






2) Debug (reboot): Use combination key "Ctrl+shift+f5";






3) Debug (Start Without Debugging): Use the combination key "Ctrl+f5";






4) Debug (statement-by-sentence): F11;






5) Commissioning (step by Step): F10;






6) Set breakpoint: F9.












CTRL + SHIFT + B: Build Solution






CTRL + F7: Generate compilation






CTRL + O: Open file






CTRL + SHIFT + O: Open Project






CTRL + SHIFT + C: Show Class View window






F4: Display Properties Window






SHIFT + F4: Show Project Properties window






CTRL + SHIFT + E: Show Resource View






F12: Go To Definition






CTRL + F12: go to Declaration






CTRL + ALT + J: Object browsing






CTRL + ALT + F1: Help Table of Contents






CTRL + F1: Dynamic Help






F1: Help






SHIFT + F1: Current Window Help






CTRL + ALT + F3: Help-Search






SHIFT + ALT + ENTER: full-screen display






CTRL +-: Navigate backwards






CTRL + SHIFT +-: Navigate Forward






CTRL + F4: Close document window






CTRL + PAGE down: Cursor positioned above window






CTRL + PAGE up: Cursor positioned below 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: Comment on the selected code






CTRL + K, CTRL + U: Uncomment the selection code






CTRL + M, CTRL + O: collapsing code definitions






CTRL + M, CTRL + L: Expand Code Definition






CTRL + DELETE: Delete to ending






CTRL + BACKSPACE: Delete to Prefix






SHIFT + Tab: Cancel tab






CTRL + U: Turn lowercase






CTRL + SHIFT + U: Turn capitalization






CTRL + SHIFT + END: Select to end of document






CTRL + SHIFT + HOME: Select to start at the end of the document






SHIFT + END: Select to end of line






SHIFT + HOME: Select to start at line






SHIFT + ALT + END: Vertical selection to last end






SHIFT + ALT + HOME: Vertical selection to the front






CTRL + A: Select All






CTRL + W: Select the current word






CTRL + SHIFT + PAGE UP: Select to the front of this page






CTRL + SHIFT + PAGE down: Select to the back of this page






CTRL + End: Document is anchored to the last






CTRL + HOME: Document navigates to the front






CTRL + G: Go to ...






CTRL + K, CTRL + P: previous label






CTRL + K, CTRL + N: Next label






ALT + F10: Debug-applycodechanges






CTRL + ALT + BREAK: Stop Debugging






CTRL + SHIFT + F9: Cancel all Breakpoints






CTRL + F9: Allow interrupts






CTRL + SHIFT + F5: Debug-Start again






F5: Run debugging






CTRL + F5: Run without Debugging






F10: Spanning program execution






F11: Stepping through one step






CTRL + J: List Members






CTRL + PAGE down: Next view






CTRL + B: Format-Bold






CTRL + SHIFT + T: Format-Text indent












debugging shortcut keys












F6: Build Solution






CTRL+F6: Build Current project






F7: View Code






Shift+f7: Viewing the form Designer






F5: Start Debugging






Ctrl+f5: Start execution (without debugging)






SHIFT+F5: Stop Debugging






Ctrl+shift+f5: Restart debugging






F9: Toggle Breakpoint






CTRL+F9: Enable/Stop breakpoints






CTRL+SHIFT+F9: Delete all breakpoints






F10: Process-by-step






CTRL+F10: Run to Cursor






F11: Per-statement


















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 labels






Ctrl+i: Incremental Search






Ctrl+shift+i: Reverse Incremental Search






Ctrl+f: Find






Ctrl+shift+f: Finding in Files






F3: Find the next






SHIFT+F3: Find Previous






Ctrl+h: Replace






Ctrl+shift+h: Replace in file






ALT+F12: Find Symbol (List all find results)






Ctrl+shift+v: Clipboard Looping






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 When moving forward






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: Stopping outline display






Ctrl+e,s: View Blank






Ctrl+e,w: Wrap 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 Uppercase






Ctrl+u: All turns lowercase












Code shortcut keys












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: Inserting Code Snippets






Ctrl+k,s: Inserting the outer code






F12: Go to the definition of the called procedure or variable












Window shortcut keys












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: 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


















Hidden shortcut keys for VS2005






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 key, so ... , alternative shortcut keys are alt+right)






Shift+delete: The entire row is deleted, and the line is placed on the Clipboard (a piece of content cannot be selected at this time)






Shift+insert: Paste, a little strange, Ctrl + V can be, presumably to and shift+delete corresponding bar






Ctrl+up,ctrl+down: Scroll the editor, but try not to move the cursor, the cursor is guaranteed to be within the visible range






Ctrl+backspace,ctrl+delete: Whole word deletion, sometimes very useful






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)






ALT+SHIFT+F10: Open a small window that performs renaming, implements interfaces, and abstract classes (you can also use CTRL +., but some Chinese input methods use this)






SHIFT+F9: Debug is open QuickWatch, content is the current cursor is located in the content






F12: Jump to Definition, useful shortcut keys






SHIFT+F12: Find All references






CTRL+F10=F5: Start Debug






Ctrl+f6: Loop through the Code window and feel a little ctrl+tab






CTRL+F3: Finds the current cursor selection and can be used with F3






CTRL+F2: Shift focus to the drop-down box on the class






Alt+f7=ctrl+tab






ALT+F11: New open VS2005 and edit macro






ALT+F12: Find =ctrl+f












Visual Studio 2013 shortcut Keys Daquan




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.