SlickEdit Community
SlickEdit Product Discussion => SlickEdit® => SlickEdit User Macros => Topic started by: PlasticJesus on May 08, 2019, 11:35:27 PM
-
Hi. I'm trying to generate an empty C++ body from the definition in the header file.
I haven't used SE in a few years (I used to have a sweet version of this) and was hoping this would be standard, but I don't see it. Does anyone have a nice version of this capability?
-
There is a command for doing this (implement-protos <class_name>). It is not super-refined, but it works adequately nevertheless. Run it from the SlickEdit command line and give the it the name of the class you are implementing.
There is also a command that does the inverse, generates prototypes for the functions found in the current file. Again not super-refined, you might need to cut and paste and massage the results a bit, but it is easier than typing it all by hand.