-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
FeatureRequestIssues asking for a new feature that does not need a proposal.Issues asking for a new feature that does not need a proposal.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Milestone
Description
gopls version
(does not matter here)
go env
(does not matter here)What did you do?
I use Go, vscode and templ.guide
The tool templ creates Go code from templates.
I am looking at my Go file and I use a function which was auto-generated by templ:
If I ctrl-click on page() then ...
then I get to the autogenerated Go code:
It would be great if I could get to the templ-file instead:
As a user, the experience is not great, because I would like to jump to the original source (the templ template).
Does gpls provide hooks, which templ could implement, so that ctrl-click jumps directly to the templ template?
Related issue: a-h/templ#387
EwenQuim, nexovec and davidovich
Metadata
Metadata
Assignees
Labels
FeatureRequestIssues asking for a new feature that does not need a proposal.Issues asking for a new feature that does not need a proposal.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.


