Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: formatting corrupts /**/ comments with CRLF line endings #40355
What version of Go, VS Code & VS Code Go extension are you using?
Share the Go related settings you have added/edited
Describe the bug
When working on some files with the
I indicate "seems" as the more lines I give it to remove, the more extra characters it adds back into the file in the wrong place that are splices of nearby lines.
It also behaves if I switch the line ending to LF which is when I started counting the number of characters of garbage I was getting.
Steps to reproduce the behavior:
Screenshots or recordings