-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSDoc-style multi-line comments are wrongly indented #12249
Comments
This fixes the issue at microsoft/vscode-cpptools#12249 . This was removed in microsoft@98fa77a . Then PR microsoft#160357 added /* */ autoClosingPair.
@thennothinghappened I have a PR against VS Code at microsoft/vscode#211202 which fixes this. You could also apply that PR manually to get the same behavior (although a VS Code update might overwrite those changes). |
This fixes the issue at microsoft/vscode-cpptools#12249 . This was removed in 98fa77a . Then PR #160357 added /* */ autoClosingPair.
@thennothinghappened This should be fixed in the latest VS Code Insiders release, although you may have to wait till tomorrow's build, and the fix to Doxygen generation with |
@thennothinghappened Fixed with the latest VS Code (and our doxygen comment generation with |
Environment
Bug Summary and Steps to Reproduce
Bug Summary: When writing a multi-line documentation comment, the ending line is not indented correctly.
Steps to reproduce:
/**
.*/
will be autocompleted, placing the cursor right before it.*/
will not be correctly indented with the contents of the comment:Expected behavior:
I'd expect the closing comment line to be indented by one space to match with the comment body:
Configuration and Logs
Log Diagnostics:
c_cpp_properties.json
:N/A - Problem presents with no configuration given with no workspace needed.
Language Server Log:
Other Extensions
Issue presents without any other extensions.
Additional context
No response
The text was updated successfully, but these errors were encountered: