Eclipse 中是否有任何功能可以通过包含的 header 中的原型(prototype)生成空函数实现?
也就是说,我创建了一些 *.c 文件并在其中编写了 #include something.h
,我希望 Eclipse 能够建议/生成原型(prototype)在 something.h 中定义的空函数。
或者至少智能感知可以自动完成函数声明(来自 something.h)?还是我想要太多?
谢谢。
最佳答案
当前 Eclipse 中可用的最接近的是菜单选项 Source/Implement method。
诚然,这并不是那么接近。见:
http://wiki.eclipse.org/CDT/C_editor_enhancements/Source/header_synchronization
你也可以看看像这样的外部工具
关于c++ - Eclipse 中函数原型(prototype)的建议,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7400697/