User forums > General (but related to Code::Blocks)

Adding a comment block

(1/3) > >>

royalbox:
Has anyone made a plugin that will add a comment block?
I keep checking the forums for this but I don't see any mention of one. It would be really useful if it were able to list the parameters of a function for example, so you could just add what the parameters are for. Is anyone working on something like this?

280Z28:
Adding a macro like CB to the autotext feature will do this. :) You could also do something like CB for comment block, and FCB for function comment block if you like to use a different style with your function declarations. :)

thomas:

--- Quote from: royalbox on December 13, 2005, 02:36:20 pm ---Has anyone made a plugin that will add a comment block?
--- End quote ---
There is basic comment block functionality using Ctrl-Shift-C/X built-in, but unluckily there is no such thing as filling in a function name or parameters. Writing such a plugin should not be too complicated though, so if you need that functionality, you can just go ahead. Yell out if you need information.

royalbox:
@280Z28
I've been using code::blocks for a few months, yet I've not seen an autotext feature. Where is this please?

@thomas
Creating a plugin is beyond me at the moment I think. I downloaded the plugin sdk, took a quick look, and left it at that.

Thanks for your help.

280Z28:

--- Quote from: royalbox on December 14, 2005, 01:52:31 pm ---@280Z28
I've been using code::blocks for a few months, yet I've not seen an autotext feature. Where is this please?

Thanks for your help.

--- End quote ---

Settings -> Editor -> Auto-complete

Customize it, then learn to use it often and well; it is your good friend. I love it.

Navigation

[0] Message Index

[#] Next page

Go to full version