Question

I'm working with doxygen and has encountered an issue, where the <code> in C# code documentation is interpreted differently that the \code command for doxy. Both seems to be interpreted as code, and both are typed in monospace fonts. But the \code encapsulates the code in a nice box and understands newline, while code in <code> is just printed out in one line with no box.

Is it possible to make doxy interpret <code> as \code?

Or before it interprets the documentation change the <code> to \code and </code> to \endcode to work around the problem?

I am aware I could just have \code and \endcode statements in the documented code segments, but I work with other tools like Resharper that interprets <code>, and will not understand \code. Having the code documentation as close the standard (http://msdn.microsoft.com/en-us/library/5ast78ax.aspx) makes it easier to work with different tools.

Was it helpful?

Solution

The 1.8.2 version of doxygen has now fixed this error and the code tag is working as it should.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top