Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: iimehl on February 26, 2014, 06:16:08 am

Title: Feature Request - Class Wizard
Post by: iimehl on February 26, 2014, 06:16:08 am
Hi,

I hope this is the right spot to post a feature request.

It would be nice to be able to specify the name space in the class wizard and have it generate source and header files accordingly.

Cheers
 john
Title: Re: Feature Request - Class Wizard
Post by: BlueHazzard on February 26, 2014, 04:34:38 pm
what is a "name space"?

greetings

[EDIT] AAAAA namespace ... you can modify the wizard script and add your own template code there. Right click in the wizard and edit script...
Title: Re: Feature Request - Class Wizard
Post by: iimehl on March 06, 2014, 06:13:46 pm
Click right where ? I clicked pretty much everywhere on the dialog and nothing happens.

It also seems namespaces are such a common thing it should be included in the class wizard by default
Title: Re: Feature Request - Class Wizard
Post by: BlueHazzard on March 06, 2014, 07:48:19 pm
sorry i misinterpreted your post. I thought you mean the "script" wizard, not the class wizard.

Sorry, but at the moment the class wizard has no such feature... but it would be easy to implement it. Patches welcome ;)

greetings
Title: Re: Feature Request - Class Wizard
Post by: iimehl on March 12, 2014, 07:22:03 pm
Turns out the class wizard supports namespaces. One specifies the namespace with the class name,i.e. foo::Bar  for namespace foo class Bar