Common shortcut keys in Visual Studio 2013

Source: Internet
Author: User
Code Selection

1. Select region code

Press shift to select the entire (ROW) block code, which can be combined with four direction keys (left and right keys: select a single character, up and down keys: The current column of the upper and lower rows), Home (the beginning of the current row) end, pgup, and pgdn.

2 words (word by word) Selection

CTRL + Shift + arrow keys (left-click, right-click) can select the entire word at a time.

Code Deletion

1. Press Ctrl + Delete to delete the block (word or punctuation) on the right of the cursor)

2. If you want to delete the entire row, the previous skill is obviously inconvenient. Press Ctrl + L to compress a large fireball. Attack effect: Delete the current row.

Code Movement

Alt + indicates the up or down arrow in the direction. You can swap the code of the current line with the previous line or the next line. If you press the multi-Power Up Arrow, you can move up several lines or move the entire code.

Screen Rolling

1. Let the vs code window flip one line up or down

CTRL + direction key: Up or down

2. Use pgup or pgdn if you need to flip too many lines. To return to the document switch, press Ctrl + home. The end of the document must be Ctrl + end.

Method (function) body collapse

This function works with the [Screen rolling] function and is often used to read other people's code. Place the mouse in the method definition, CTRL + M twice

Method (function) body collapse. Skill Level. 2

CTRL + M + O fold all method bodies of the class where the cursor is located

Method (function) body collapse. Skill Level. 3

Collapse all classes in the current class file. You know, some people like to define N classes in a class file, one by one, rather tired. Press Ctrl + M + L

Note

CTRL + k, CTRL + C, CTRL + k, CTRL + u

View parameter list

CTRL + Shift + Space

View quick Definition

Alt + F12

Code Reading navigation

When you look at the code, you will often jump to different class files. Sometimes you want to return the results step by step in the order of jump. You can press Ctrl +-to complete the back operation and press Ctrl + Shift +-forward.

Jump to specified row

CTRL + G

Reference http://www.cnblogs.com/cxd4321/p/3636225.html

 

Common shortcut keys in Visual Studio 2013

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.