Open ShoshinNikita opened 1 day ago
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Change https://go.dev/cl/630056 mentions this issue: gopls/internal/golang: fix folding range for function calls
gopls version:
gopls@e751756
(master
branch)Fold calls to
sort.Slice
andfmt.Println
in VSCode (or, likely, any other editor withLineFoldingOnly
set totrue
):Not only the arguments but also the closing parentheses are being folded. There are several issues with this behavior:
fmt.Println
to add more code. This behavior is particularly frustrating when working with calls liket.Run
.}
is always visible.