C# statement after single-line comment in lambda expression indented incorrectly when surrounding it with a block #41323
Labels
Area-IDE
Bug
Developer Community
The issue was originally reported on https://developercommunity.visualstudio.com
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
IDE-Formatter
Code formatter and/or smart indent
Projects
Milestone
This issue has been moved from a ticket on Developer Community.
When I have a multi-line lambda expression including a single-line comment, and I surround that lambda expression with a block, the line following the single-line comment is not indented correctly when typing the closing brace of the block.
Steps to reproduce:
Expected result:
Actual result:
Reporting this problem now failed three times in a row due to the following problem:
https://developercommunity.visualstudio.com/content/problem/750387/recording-steps-to-report-a-problem-didnt-finish-c.html
So I can only send this without a recording now.
Original Comments
Visual Studio Feedback System on 1/20/2020, 07:13 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: