Robert Findley
Robert Findley
Thanks! We'll take a look.
@rneatherway so sorry that this fell through the cracks. Entirely my fault, and thank you for following up. What you've done looks good! I think there is a utility that...
Yep, let's start integrating it. The entry point for this handler is [`x/tools/gopls/internal/lsp/server_gen.go`](https://cs.opensource.google/go/x/tools/+/master:gopls/internal/lsp/server_gen.go;l=247;drc=9250e22aa32aa5029b848a580ba83deb48a3f2a8). In this case, you'll be writing a handler that needs what we call the "ParsedGoFile" corresponding to...
(aside: converting to int does not convert token.Pos to offsets, as token.Pos is relative to some file base position. You must use token.File.Offset to convert to an offset)
@mvdan please hold off for a few minutes -- I'm about to cut v0.10.0-pre.1; I embarassingly left a print statement in that will be fixed by https://go.dev/cl/442782 (I was debugging...
Very interested to hear about anyone's experience with this feature, negative or positive: ``` go install golang.org/x/tools/[email protected] ```
@RafalSkolasinski sorry we don't always catch comments on closed issues. I can't reproduce based on your description. Can you please file a new issue, following the issue template? For example,...
Ok, there was a bug in the go:generate codelens, in v0.9.2, which has since been fixed. Please update to the latest version of gopls.
Since this isn't critical for v0.12, moving to v0.13.
Redundant with zero-config.