Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the Visual Studio plug-in and share the source code

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Today, I will talk to you about how to use the Visual Studio plug-in and source code sharing, many people may not know much about it, in order to make you better understand, the editor summarized the following, I hope you can get something according to this article.

Today, I made a plug-in for VS, which I will share with you. For the time being, there are three functions:

Add file header

On any text page, click this button to add a file header:

The format can be modified in hxyAddIn_FileHeaderTemplate.xml in the corresponding directory of the plug-in:

The contents are as follows:

YyyyMMdd

Add parent-son dependency

This function is used to create a parent-child relationship for two files, as shown in the figure:

Click OK:.

Remove father-son dependency

Select Class2.cs in the above example, and after clicking this button, you can restore it to the upper layer.

Click OK:

.

Program and installation package: hxyAddin.7z, hxyAddIn-Code.7z

Installation method:

After decompressing, put it under: C:\ Users\ user name\ Documents\ Visual Studio 11\ Addins:

-Update:-

I wrote the plug-in for Visual Studio 11, but the chosen Framework is 4.0. After testing, Visual Studio 2010 can also be used, but you need to manually change the version number in the hxyAddIn.AddIn file:

Change 11.0 to 10.0, and then put it in the directory corresponding to 2010:

After reading the above, do you have any further understanding of how to use the Visual Studio plug-in and source code sharing? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report