News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

classwizard plugin

Started by workwind, October 18, 2006, 01:49:27 AM

Previous topic - Next topic

workwind

Hi,

I did some improvements on the classwizard plugin:

  • supports namespaces
  • subdirectory creation
  • optional generation of implementation file
  • using the default code .h and .cpp file for code generation
If you are interested I can send you the sourcecode

Regards,
Nils

mandrav

Be patient!
This bug will be fixed soon...

workwind

#2
patch ID is 001568 ;-)

MortenMacFly

#3
Quote from: workwind on October 18, 2006, 09:47:02 AM
patch ID is 001568 ;-)
I tried and it looks good, I had no objections. But: C::B one time froze completely when I did the following:
- create a c++ console project
- add a class named "myClass"
- constr. arguments: "int my_int"
- inheritance enabled, from "Base"
(everything else I left as it is).
I wasn't able to reproduce, but did you experience any similar?
With regards, Morten.

Edit: Ah, and I had forgotten: If you don't have a project, the plugin creates the files fine, but it doesn't ask for a folder where to create to and actually creates them in the folder where C::B is (in my case). This may not be what one expects. I would expect eighter: The plugin does not work without a project or (which I believe is better) the files are not being saved, just created.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

workwind

Quote from: MortenMacFly on October 18, 2006, 07:46:18 PM
I wasn't able to reproduce, but did you experience any similar?
I had never such experience... ;-)

Quote
Edit: Ah, and I had forgotten: If you don't have a project, the plugin creates the files fine, but it doesn't ask for a folder where to create to and actually creates them in the folder where C::B is (in my case). This may not be what one expects. I would expect eighter: The plugin does not work without a project or (which I believe is better) the files are not being saved, just created.
I updated the patch to allow the selection of the base directory. That works with and without a project. The new version is here: 001568

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]