Some tips on Visual Studio. NET (2)

Source: Internet
Author: User

001. Powerful progressive searchProcedure:
1. PressCTRL + IKey;
2. Enter the text you want to search. Note: you will see the cursor jump to the first matching position and highlight the search text.
3. Press againCTRL + IThe cursor jumps to the next matched text;
4. PressCTRL + Shift + ISearch backward;
5. PressESCKey to stop searching;

 

 

 Comment: This function is moreCTRL + FThe search is flexible and fast, so no Search dialog box is displayed. You can also use the menu bar to call this function:Edit + advanced + progressive search

002. Use the shortcut key to comment and cancel the comment 

Procedure:
1. NotesCode:CTRL + k, CTRL + c
2. uncomment ::CTRL + k, CTRL + u

Visual Basic, C #, and C ++ all use the same shortcut key.

003. Insert a row above and below the current row

Procedure:
1. Insert a row above the current row:CTRL + enter
2. Insert a row below the current row:CTRL + Shift + enter

004. Adjust the character, word, or line Order

Procedure:
1. Adjust the character sequence:CTRL + T.
2. Adjust the word order:CTRL + Shift + T.
3. Adjust the order of rows:Alt + Shift + T. Switch the location of the current row and the next row.

005. Collapse and expand the code

Procedure:

In any position of the code block, pressCTRL + M, CTRL + mTo collapse or expand the code block where the cursor is located.

PressCTRL + M, CTRL + L"To fold or expand the entire document

006. Reuse different contents in the clipboard repeatedly

Procedure:
Use shortcutsCTRL + Shift + V, You can use the last 20 cut or copy contents in the clipboard cyclically.

 This function is recommended.

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.