Add Doxygen tag label "retval" to simple structured view of comments by michelleangela · Pull Request #6983 · microsoft/vscode-cpptools · GitHub
Skip to content

Add Doxygen tag label "retval" to simple structured view of comments#6983

Merged
michelleangela merged 3 commits into
mainfrom
mimatias/retval
Mar 12, 2021
Merged

Add Doxygen tag label "retval" to simple structured view of comments#6983
michelleangela merged 3 commits into
mainfrom
mimatias/retval

Conversation

@michelleangela

@michelleangela michelleangela commented Feb 17, 2021

Copy link
Copy Markdown
Contributor

For issue #6816.

Example code and display of Doxygen tag "retval" showing simple and all comment view depending on the setting C_Cpp.simplifyStructuredComments

/**
 * @param input is some character.
 *
 * @retval 0 if input is empty.
 * @retval -1 if input is A.
 * @retval -2 if input is B.
 * @retval -3 if input is C.
 *
 *  @note this is a note
 */
int myFunction(char input);

Simple structured view
image

All comments displayed
image

@michelleangela michelleangela changed the title Add Doxygen tag label "retval" Add Doxygen tag label "retval" to simple structured view of comments Feb 17, 2021
@michelleangela michelleangela marked this pull request as ready for review March 12, 2021 22:08
@michelleangela michelleangela merged commit c4b44d3 into main Mar 12, 2021
@michelleangela michelleangela deleted the mimatias/retval branch April 2, 2021 18:17
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants