自动生成函数存根 [英] Automatic generation of function stubs

查看:148
本文介绍了自动生成函数存根的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何Visual Studio插件(或windows / unix独立程序)在cpp文件中为头文件中定义的函数(包括类成员函数)创建存根实现?

Is there any Visual Studio add-on (or windows/unix stand-alone program) that creates stub implementations in the cpp file for the functions (including class member functions) that are defined in the header file?

推荐答案

我有同样的问题,现在我使用的试用版 Visual Assist X 。所提到的任务可以通过右键单击方法名称 - >重构 - >创建实现然后重构 - >移动实现到CPP文件。

I have the same problem before and now I am using trial version of Visual Assist X. The task mentioned can be done by right clicking on the method name -> Refactor -> Create Implementation and then Refactor -> Move Implementation to CPP file.

我没有视觉Assist X的关联公司或什么,但这真的提高了我的Visual C ++的编码速度。

I am no Visual Assist X's affiliate or what, but this really increases my coding speed with Visual C++ dramatically.

这篇关于自动生成函数存根的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆