Visual Studio tips-(1-10)

Source: Internet
Author: User

1. Powerful incremental search

 

Procedure:

(1) press Ctrl + I;

(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 Ctrl + I again, and the cursor will jump to the next matched text;

(4) press Ctrl + Shift + I to search backward;

(5) Press ESC to stop searching;

Comment: This function is more flexible and quick than Ctrl + F search, and does not bring up a Search dialog box. You can also use the menu bar to call this function: editing + advanced + progressive search.

2. Select a rectangular area (box type)

 

Procedure:

Press SHIFT + ALT + direction key

Comment: This function is very useful when editing code. You can also use the Alt key + mouse to implement this function.

3. Shift + ALT + enter. vs workspace full screen display

4. display visible line breaks and adjust colors

 

Go to tools-options-Text Editor-all languages-general, and check to display the visualized automatic line feed symbol, as shown below:

You can also adjust the visible white space color under the tool-options-font and color settings:

 

5. Create a custom shortcut

Select Tools> Options> environment> keyboard to create custom shortcut keys:

 

6. use Ctrl + F3 or Ctrl + Shift + F3 to search

Select the text you want to search for. Then press Ctrl + F3 to search for the text you want with the cursor, instead of a prompt box like Ctrl + F, you can also press Ctrl + Shift + F3 to perform reverse search.

CTRL + F3:

(1) case sensitive

(2) query hidden text

(3) Support partition search

(4) The regular expression cannot be used.

7. How to complete code through smart prompts

 

In the above example, console. writel is unfinished code. To get writeline, press Ctrl + space or Alt + right arrow. It does not seem to be an English version. I tried the Chinese version and it seems useless, which of you knows...

8. How to quickly display details of a Method

Method 1: Use the shortcut keys Ctrl + k, CTRL + I

Method 2: Use the corresponding button on the toolbar

9. How to quickly display the parameters and descriptions required by the Method

Use the shortcut key Ctrl + Shift + space to display parameter information

 

You can also use the buttons on the toolbar:

 

 In the Chinese version, the shortcut key is Ctrl + K, P

10. How to adjust the font of the vs smart prompt?

Select Tools-options-environment-font and color, select Editor tool prompts in the settings column, and then set the settings. The English interface is as follows:

To be continued...

Author: Rocky Xiang
Source: http://www.cnblogs.com/RockyMyx/
The copyright of this article is shared by the author and the blog Park. You are welcome to repost it, but please provide a connection to the original article clearly on the article page. Otherwise, you will be entitled to pursue legal liability.

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.