jeff-hykin / better-cpp-syntax

💾 The source of VS Code's C++ syntax highlighting
GNU General Public License v3.0
155 stars 30 forks source link

Comma-separated doxygen params: only the first one is highlighted #613

Closed lamm45 closed 1 year ago

lamm45 commented 2 years ago

In Doxygen, multiple parameters in a comma separated list will use the same description: https://doxygen.nl/manual/commands.html#cmdparam

However, currently only the first listed parameter is highlighted in a Doxygen comment block.

Checklist

The code with a problem is:

/** Sets the position.
 *  @param x,y,z Coordinates of the position in 3D space.
 */
void setPosition(double x,double y,double z,double t)
{
}

It looks like:

Default dark theme in VS Code 1.72.2: Screenshot_20221118_195658

It should look like:

Variables x, y and z should all be in the same color in the comment block.

jeff-hykin commented 1 year ago

should now be fixed on v1.17.2