Author Topic: [Feature request] "Add documentation" checkbox in Insert->All class methods  (Read 4552 times)

Offline Albenejean

  • Multiple posting newcomer
  • *
  • Posts: 65
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Albenejean

  • Multiple posting newcomer
  • *
  • Posts: 65
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