clangd / vscode-clangd

Visual Studio Code extension for clangd
https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd
MIT License
594 stars 97 forks source link

Doxygen comments not shown properly in tooltips #585

Closed davidavetyan closed 4 months ago

davidavetyan commented 4 months ago

clangd displays doxygen comments as plain text in the tooltip, unlike the default C/C++ extension of VS code. For example for the code below:

/**
    \brief Example function for adding

    \param num1 First number to add
    \param num2 Second number to add

    \return Sum of \p num1 and \p num2
*/
int add(int num1, int num2)
{
    return num1 + num2;
}

C/C++ extension's intellisense shows the tooltip like so: image

While clangd shows it like this: image

HighCommander4 commented 4 months ago

Duplicate of https://github.com/clangd/clangd/issues/529