Nvmnd, I have it figured out. Right click on the code in the .h file and there is a code generation tab.
-------------------------------------------------------------------
Is there any feature to generate a .cpp file if I write the header file? What about automatically generating comments for a header file? I'm extremely new to c++ so I'm not sure what features are available / reasonable.
Thanks,
J.
Class/Comment Generation from Header
-
- CodeLite Curious
- Posts: 1
- Joined: Mon Jan 30, 2012 8:09 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Class/Comment Generation from Header
If you only have a header file, you can click F12 -> codelite will offer to create an empty C++ file for your.jjb wrote:Is there any feature to generate a .cpp file if I write the header file?
Once you have a C++ file, you can right click inside the .h file (place the mouse somewhere in class body) and then "right click -> code generation -> implement all unimplemented functions"
This will open a dialog and all the generated code -> click OK if you agree with the content (you can modify it)
Place the caret on a function name in a header file (or implementation) and click Ctrl+Shift+D OR right click -> code generation / refactoing -> Generate Doxygen Commentjjb wrote:What about automatically generating comments
Eran
Make sure you have read the HOW TO POST thread