First go to an article .. Tips for using Visual Studio 4-where am I (display the current document in Solution Explorer)

Source: Internet
Author: User

Today'sArticleNot long. I hope you will not be kicked out of the homepage by the Administrator :)

"Show me your Visual Studio ."

"Here, what are you looking ?"

"I am familiar with the projectCodeBut whenever I use go to definition
Several times, I don't know which project to go to. You also know that our project has more than 20 projects. Solution of your Visual Studio
The currently opened code document is not displayed in explorer. It is estimated that the video card is a problem and highlight is not supported ."

("Video card ")

This is a conversation between a colleague and me two days ago. Today I found this is called track active item in solution.
Explorer, which can be set. Tools-> options open the Options dialog box and find projects and
Solutions-> General. This option is disabled by default in vs2008.

This setting is especially useful when you are familiar with the code stage. However, if you are familiar with the project, you 'd better close it. For example, a Web
Service Project, basically always select the project of the website (host). If you modify the underlying code, you only need to build this project, you can
Service is tested and debugged. Because F6 is the compilation of the entire solution, it is relatively slow; while SHIFT + F6 only compiles this project, and does not update the dynamic
Status library.

Suggestions of ttrr:

Define a macro, similar to the following content, and then define a shortcut that you like.

Imports envdte
Imports envdte80
Imports envdte90

Public module utilities
Public sub trackprojectitem ()

DTE. executecommand ("view. trackactivityinsolutionexplorer ","")
DTE. executecommand ("view. solutionexplorer ")
DTE. executecommand ("view. trackactivityinsolutionexplorer ","")

End sub
End Module

 

Thanks to Zain naboulsi for his article. His blog is Visual Studio tips.

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.