【发布时间】:2014-08-04 20:19:37
【问题描述】:
在 C# 中,我只需键入“///”,它就会创建带有部分信息的漂亮注释块。
有没有办法对 C++ 代码做同样的事情? 也许是插件?
这只是例子
/// <summary>
/// Description for SomeMethod.</summary>
/// <param name="s"> Parameter description for s goes here</param>
/// <seealso cref="String">
/// You can use the cref attribute on any tag to reference a type or member
/// and the compiler will check that the reference exists. </seealso>
public void SomeMethod(string s)
{
}
【问题讨论】:
-
不确定vs2013但是code::blocks在工具栏上有一个按钮来生成块注释,没有填写任何细节但是像\brief、\return和\param这样的标签是自动创建的
标签: c++ xml visual-c++ visual-studio-2013 intellisense