- Automaticaly add 42 header
- Give the choice to create constructors with only certain fields
- Inheritance managing
- All the features that I find useful ;)
- The extension is available on:
- Open the generator pannel with the command
open C++ orthodox canonical class generator - Choose a class name (like
MySuperClass) - You can add all the fields you want
- For the type, precise
stdif needed. Examples:std::stringorint - Choose a name without the
_(likemySuperInt) - It's not mandatory to add a default value to the field
- For the type, precise
- You can add classe's exceptions
- Precise the name (like
MySuperException) - Precise whatever you want in the
whatfunction
- Precise the name (like
- If you fill it, you cann add the overload of the
<<operator (use the precised format to print some field in the message) - You can generate debug message in constructor/destructor if the subject ask it
- Default generator (Errors are false positive detected by VScode but that's compile)

- Complete all generator fields

- "cppclassgenerator.defaultGetter" used to choose if the box "generate getter" is default checked
- "cppclassgenerator.defaultSetter" used to choose if the box "generate setter" is default checked
- "cppclassgenerator.defaultDebug" used to choose if the box "generate debug messages" is default checked
PR are welcome on Github to propose an improvement