Syntax error/warning in doxygen comments.

Hello, 
(Visual Studio 2017 and ReSharper C++ EAP 2019.3 EAP 7) 

I get an "Unexpected HTML closing tag </param> in the comment block.

There is no space between the /// and the <param...

If I insert a space between the /// and <param.. , the warning disappears; is this a normal behavior ? 

///<summary>Do Something</summary>
///<param name="v">V is for V</param>
int f( int v )
{
return v;
}

 

1 comment
Comment actions Permalink

Hello,

It's a bug, thanks for reporting it to us (https://youtrack.jetbrains.com/issue/RSCPP-28425). We'll fix it, but consider always adding a space after the '///' token - I believe it's a best practice for doxygen comments.

Thanks!

0

Please sign in to leave a comment.