You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was hoping to use csharpier on a code base that currently uses 2 space indents. One thing I noticed right away is that the indentation of multiline comments is not handled correctly. Only the first line in indented and the rest of the lines remain where they were. This applies to both xml doc comments and C-style comments.
Actual:
Should be:
Actual:
Should be:
As a workaround, I used dotnet format first, then dotnet csharpier.
The text was updated successfully, but these errors were encountered:
…582)
* Handle multiline comments better
closes#580
* Adding a test case. Starting to handle the extra indent in /* style comments.
* Getting test passing
* Fixing validation logic
* Update DocPrinter.cs
* Update Token.cs
* Handling another edge case
* Cleaning up some code
* Code review change
This is working for /// style comments in 0.15.0. My solution for /* style comments was not playing nice with commented out code and I haven't found a good solution yet. I created #606 to address it.
I was hoping to use csharpier on a code base that currently uses 2 space indents. One thing I noticed right away is that the indentation of multiline comments is not handled correctly. Only the first line in indented and the rest of the lines remain where they were. This applies to both xml doc comments and C-style comments.
Actual:
Should be:
Actual:
Should be:
As a workaround, I used
dotnet format
first, thendotnet csharpier
.The text was updated successfully, but these errors were encountered: