c++ - visual stdio中怎样给创建的cpp,h文件自动添加头部注释
怪我咯
怪我咯 2017-04-17 11:42:42
0
1
583

我用visual stdio2013做c++开发,怎样才能在visual stdio中自动给创建的头文件添加头部注释。网上搜到了大约有三种方法:
1.直接更改模板文件,但是网上搜到的都是怎样更改c#文件的头部注释的,没有C++的,C++的目录中的文件结构和c#很不相同;
2.使用宏编辑器的,这种方法都是针对visual stdio2010及以前的版本有效,从visual stdio2012开始没有宏编辑器了;
3.使用visual assistant助手,但是我发现在visual stdio2013中提示功能很强,就没装那个插件。
情况如上描述,请各位大神教我如何做,最好是直接更改模板文件。

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(1)
刘奇

For Visual Studio 2013.

  1. Template files, VS does not provide template files for C++. C#/VB only
  2. Macro editor, as you said.
  3. 2013 There is really no need to use a "heavy" plug-in like VA, the built-in prompts are already very powerful.

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!