Some tips that vs has to do (1) -- look into finding, vs tips

Source: Internet
Author: User

Some tips that vs has to do (1) -- look into finding, vs tips

I. File Search

1: File Retrieval

Sometimes we need to know the files in which the MD5 function is used because of the need to change the bug. However, unlike cs, we can use shift + f12 to find function references,

At this time, we can use "file search" to solve this problem.

We can clearly see which files and lines use the md5 function in the "Search Results", and then we continue to find what we want.

 

2: Change Scope

In the figure, the entire solution is selected for our search range. Of course, you can select this range as needed, such as the current window and current project ", or even a disk...

 

3: filter again in "search result"

Sometimes there are a lot of files in our "Search Results", so it is very troublesome for me to flip the scroll bar. At this time, we can use "Quick Search" for secondary filtering.

 

Ii. symbol search

Among the three search types, I think the most popular one is "Quick Search", and the least estimation is the "symbol search". Haha, sometimes we have such

One requirement is to find out which namespace the "XmlSerializer" belongs to, but I forgot it for a while, so I don't know which dll to add.

Now, we can use the "Search symbol" function.

After searching, we finally know that the namespace of "XmlSerializer" is System. Xml. Serialization, and of course there are attributes and methods of the same name, which is quite interesting.

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.