I wanted to write a vim syntax file for a library that has Doxygen documentation.
Does a tool like that already exist ?
If not, what would be the best way to generate this automatically ?
- write a new output generator (complicated) ?
- parse lots of xml from doxygen/xml/*.xml (slow) ?
Anything else ?
I was surprised that s开发者_Go百科omething like this doesn't already exist. Any idea why ? Am I looking in the wrong place ?
As opposed to parsing all of the generated XML files, you should be able to generate a Doxygen tags file. The tag file can be created with the Doxygen option GENERATE_TAGFILE
. The resulting file is still XML, but it captures all of the files, structs, functions and other symbols in a single file which is likely easier to transform into the format that you need.
精彩评论