Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Albenejean on July 10, 2007, 03:28:39 pm

Title: [Feature request] "Add documentation" checkbox in Insert->All class methods
Post by: Albenejean on July 10, 2007, 03:28:39 pm
Is it possible to have an "Add documentation block above method" checkbox in Insert->All class methods without implementation, like in Insert->Class method declaration/implementation.

Well, it is possible, but did someone have time to make it?

Thanks.
Jean
Title: Re: [Feature request] "Add documentation" checkbox in Insert->All class methods
Post by: MortenMacFly on July 10, 2007, 03:48:05 pm
Well, it is possible, but did someone have time to make it?
Depending on what you have in mind you can also use abbreviations to do so. Setup an abbreviation for your typical docu header, type the abbreviation shortcut in the editor and hit CTRL+J and you're done. Consult the WiKi / C::B abbreviations settings for more information.
With regards, Morten.
Title: Re: [Feature request] "Add documentation" checkbox in Insert->All class methods
Post by: Albenejean on July 10, 2007, 04:13:34 pm
Thanks for the response.

In fact, ... I don't want a documentation block ... And there is one... That's why I wanted a checkbox... To uncheck it...

One other thing. The fonction implementation is like that:
ReturnType FunctionName(...)
For the constructor/destructor of a class, there is no ReturnType. And the space between ReturnType and FunctionName remains...  Not really important but...

Thanks.
Jean