我用visual stdio2013做c++开发,怎样才能在visual stdio中自动给创建的头文件添加头部注释。网上搜到了大约有三种方法:
1.直接更改模板文件,但是网上搜到的都是怎样更改c#文件的头部注释的,没有C++的,C++的目录中的文件结构和c#很不相同;
2.使用宏编辑器的,这种方法都是针对visual stdio2010及以前的版本有效,从visual stdio2012开始没有宏编辑器了;
3.使用visual assistant助手,但是我发现在visual stdio2013中提示功能很强,就没装那个插件。
情况如上描述,请各位大神教我如何做,最好是直接更改模板文件。
For Visual Studio 2013.
What to do? I searched for a long time and couldn't find any good way. Until I met a god-like plug-in.
Atomineer Pro Documentation
This plug-in perfectly supports various comments of C++ and provides choices of various mainstream styles such as DocXml, Doxygen, Qt, and JavaDoc.
Super lightweight, focused on annotations, and supports various versions of VS.
This is the best solution I could find, the only regret is that the plugin is charged and only offers a 30-day free trial.