自动为所有新文件生成类级别注释 [英] Auto generate class level comments for all the new files

查看:71
本文介绍了自动为所有新文件生成类级别注释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想定义一个类级注释模板,只要我们创建一个新的cs文件,就可以在cs文件的顶部添加它。



任何身体都可以告诉我是否有可能在VS 2010中。如果是,那么如何?

I want to define a class level comment template which can be added at top of the cs file whenever we create a new cs file.

Any body can tell me either is it possible in VS 2010 or not. If yes then how ?

推荐答案

在Visual Studio模板中编辑类模板,例如如 http所示://stackoverflow.com/questions/2072687/how-do-i-edit-the-visual-studio-templates-for-new-c-sharp-class-interface [ ^ ]。

干杯

Andi
Edit the class template in the Visual Studio templates, e.g. as shown in http://stackoverflow.com/questions/2072687/how-do-i-edit-the-visual-studio-templates-for-new-c-sharp-class-interface[^].
Cheers
Andi


这篇关于自动为所有新文件生成类级别注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆