How can I get Eclipse CDT to generate a C++ class constructor from data members?
c++, code-generation, constructor, eclipse, eclipse-cdt
Solution
The feature is NOT in CDT yet.
I've been envying the Eclipse JDT (Java) for the feature of "Generate constructor using fields" for years. 8o It saves so~ much time for boiler plate code.
If you like this feature too, please Vote it up together with your friends/colleagues in the following page! https://bugs.eclipse.org/bugs/show_bug.cgi?id=306902#c4
So that we can all have this feature in next release!
Problem
I've recently started using Eclipse Kepler CDT. I'd like to be able to generate code for a class constructor, after having typed in the class data members. Using Eclipse to write Java development, I would do this by right-clicking and using the constructor generation entry in the Source sub-menu (Alt+Shift+S); writing C++, though, this functionality is not available... or is it?