开发者

Is there any way to get Visual Studio 2008 to update .net style comments automatically?

开发者 https://www.devze.com 2022-12-25 18:41 出处:网络
I\'ve been writing a lot of VC++ 2008 / CLI software recently and am using the C#/CLI style documentation:开发者_开发问答

I've been writing a lot of VC++ 2008 / CLI software recently and am using the C#/CLI style documentation:开发者_开发问答

/// <summary>
/// Function the does stuff
/// </summary>
/// <param name="someParam">Specifies some option</param>
/// <returns>true if it worked</returns>
bool DoStuff( bool someParam );

I find myself re-typing those blocks quite frequently and frankly, it's getting repetitive. Is there any way to get Visual Studio to create / update those blocks automatically as you create new function definitions or update existing definitions?


Check out my addin, AtomineerUtils. It does all this and much much more.

(It also supports C++/CLI, C++, C#, Visual Basic and C)


Visual Assist ought to help.


I believe if you type a triple slash (///) at the beginning of a method VS will create a block for you. You will have to supply the description of the function and parameters, though. Not sure if there is a way to get it to auto-update.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号