x/tools/gopls: code action for “add field names to struct literal” #43198
Labels
FeatureRequest
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What did you do?
emacs
buffer, open$GOROOT/src/html/template/template.go:229
:go/src/html/template/template.go
Lines 228 to 233 in f1980ef
M-x eglot-code-actions
What did you expect to see?
An LSP code action that can add field names to the Go struct literal at the current location.
(@stamblerre informs me that VSCode currently provides this functionality using
gomodifytags
; cc @fatih.)What did you see instead?
[eglot] No code actions here
The text was updated successfully, but these errors were encountered: