Skip to content

Doxygen comment generation can overwrite the function signature if it's invoked to the left of the signature #13839

@sean-mcmanus

Description

@sean-mcmanus

Reported on VS at https://developercommunity.visualstudio.com/t/Auto-generated-Doxygen-comments-are-wron/10943572 but their implementation is different.

Start with

/**/ inline int func(int i) {
  return 0;
}

and typing * between ** gives:

Image

Or just type /** when there's whitespace to the right of the cursor and before the function signature.

Metadata

Metadata

Assignees

Labels

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

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions