开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜