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/cmd/gopls: Formatting action results in file contents removal #31854
What version of Go are you using (
I believe that range formatting is totally broken right now (the call textDocument/rangeFormatting) which is used by formatOnPaste.