Skip to content

Comment lines without Doxygen tags is not parsed correctly #5741

Description

This is reported on Visual Studio at
https://developercommunity.visualstudio.com/content/problem/1105383/comments-without-doxygen-tags-is-not-parsed-correc.html. Please upvote the Visual Studio feedback ticket to increase priority of issue as this feature is a shared API between Visual Studio C++ IntelliSense and the VS Code C++ extension.

Sample code:

/**
 * Hello there
 * blue sky.
 *
 * @return this is return note
 */
int test()
{
    return 0;
}

Repro steps:

  • In a C++ source, use the sample code provided.
  • Hover over the function test().
  • Tooltip display result: “Hello thereblue sky”
    image

Expected result in tooltip display:
“Hello there blue sky”

Note:
This issue only occurs when the comment has Doxygen tags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: Doc commentsAn issue related to code comments shown in hover, completion, and signature help.Language ServiceVisual StudioInherited from Visual StudiofixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions