Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Doxygen plugin
ironhead:
Any chance on a 10.05 '.cbplugin' yet, or are you waiting on resolving the last few issues?
Cryogen:
--- Quote from: ironhead on July 16, 2010, 02:04:16 pm ---Any chance on a 10.05 '.cbplugin' yet, or are you waiting on resolving the last few issues?
--- End quote ---
Yes and no. It still steadfastly refuses to work for me. I'm looking into whether I can either get a pre-built lib from one of the guys to link to or get one of them to build it. It's proving ridiculously difficult. If you can use SVN or a nightly build, I highly recommend doing so.
Sorry.
polygon7:
Hi,
thank you for really cool plugin. :) I have some small suggestions - It would be great if you will add some integration with CodeCompletion plugin
and when somebody will press a key which inserts doxygen comment, DoxyBlocks will detect if in line below carret is function, or class, or struct
(or something else) and automatically insert proper doxygen comment. And another thing - it would be great if you will allow to make custom
"template" for doxygen comments (something like in astyle "source formatter" plugin have for formatting sources).
ollydbg:
--- Quote from: polygon7 on July 20, 2010, 01:31:27 pm ---Hi,
thank you for really cool plugin. :) I have some small suggestions - It would be great if you will add some integration with CodeCompletion plugin
and when somebody will press a key which inserts doxygen comment, DoxyBlocks will detect if in line below carret is function, or class, or struct
(or something else) and automatically insert proper doxygen comment. And another thing - it would be great if you will allow to make custom
"template" for doxygen comments (something like in astyle "source formatter" plugin have for formatting sources).
--- End quote ---
This is a good idea. Codecompletion plug-in has the ability to detect which function the caret was located in. or Which function is behind the caret.
If someone has the plan, I think I would like to help. :D
I think Doxygen has another engine to parse the source code. ( I have see its source code some days ago).
Cryogen:
Hi there,
--- Quote from: polygon7 on July 20, 2010, 01:31:27 pm ---thank you for really cool plugin. :) I have some small suggestions - It would be great if you will add some integration with CodeCompletion plugin
and when somebody will press a key which inserts doxygen comment, DoxyBlocks will detect if in line below carret is function, or class, or struct
(or something else) and automatically insert proper doxygen comment. And another thing - it would be great if you will allow to make custom
"template" for doxygen comments (something like in astyle "source formatter" plugin have for formatting sources).
--- End quote ---
No problem, thanks. Well, it does that already via regular expressions, without CodeCompletion, but it could certainly be extended. For example, I don't think classes are detected at present and that should be easy to do. I have thought about a custom template but haven't looked at it. For me it's unnecessary but I'd like it to be as flexible as possible.
[EDIT] No, I was wrong, classes are detected. If you're expecting the docs to look like this:
--- Code: ---/*! \class Test class.h "inc/class.h"
* \brief This is a test class.
*
...
--- End code ---
then you'll be disappointed as that's only necessary for remote documentation, which DoxyBlocks isn't going to do for you. You might like to read a bit more about doxygen to understand what I mean, if necessary. DoxyBlocks can certainly create a default block for you and then you only need to insert the specific tag e.g. \class. Another way you might approach it is to create the documentation block at the item's location so that DoxyBlocks picks up the args, etc, then move it the remote location and add the type tag, e.g. \class. Unfortunately, there is no way that it can interpret every possible scenario.
Cheers.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version