Skip to content

New lines are removed from docstrings if prefixed by "@brief" Doxygen style #10039

@Delgan

Description

@Delgan

Environment

  • OS and version: Ubutnu 20.04
  • VS Code: 1.72.2
  • C/C++ extension: v1.12.4
  • OS and version of remote machine (if applicable): Ubuntu 20.04 (dev container)
  • GDB / LLDB version: N/A

Bug Summary and Steps to Reproduce

Bug Summary:

When a docstrings starts with @brief (which is a Doxygen convention), then newlines are ignored. This is not very convenient, because the @brief should appear on the first line and detailed description on following blocks.

/**
 * @brief A brief description.
 * 
 * Detailed description starts here.
 */
void foobar() {}

With @brief:

with_brief

Without @brief (expected):

without_brief

Debugger Configurations

N/A

Debugger Logs

N/A

Other Extensions

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions