VS2015 shortcut keys

Source: Internet
Author: User

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 code 1) If you want to copy a whole line of code, just move the cursor to that line, and then use the key combination "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) Revocation: Use the key combination "CTRL + Z" to cancel the operation; 2) Anti-revocation: Use the combo key "Ctrl+y" for anti-undo operation.  4. Search forward/Backward 1) Using 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 selection Use the combination key "shift+alt+ arrow key (or mouse)" To complete the box-type 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 line above or below the cursor line 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 code from the cursor to the beginning (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 another article.  10. Call Smart Hint 1) Method 1: Use the composite key "Ctrl+j"; 2) Method 2: Use the composite key "alt+→". 11. Call parameter information hint for some functions with large function body, it is more troublesome to easily confirm the usage of parameters inside 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. The Quick switch window uses the combination key "Ctrl+tab" (You can now open the IDE's navigation for a bird's eye view). 13. Quickly hide or show the current code snippet using the combo key "Ctrl+m,m" (Remember: to press two times M OH). 14. Build the solution using the composite key "Ctrl+shift+b". 15. JumpTo a specified row 1) Method 1: Key combination "ctrl+g"; 2) Method 2: Click the line number in the status bar.  16. Comment/uncomment 1) Note: key combination "Ctrl+k+c"; 2) Uncomment: Combine key "Ctrl+k+u". 17. Full Screen Display/exit full screen Use the combination 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. Debug related 1) Debug (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.

From for notes (Wiz)

VS2015 shortcut keys

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.