-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Closed
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.help wanted
Milestone
Description
gopls version
gopls tip
go env
irrelevantWhat did you do?
- in local replacement case, the local path doesn't have a link.
- in case of
require A v1.2.3,replace A => A v2.3.4, if I click the required module, it jumps tov1.2.3go doc rather thanv2.3.4.
What did you see happen?
NA
What did you expect to see?
I would like to support the 2 cases above:
-
the local replacement(
replace A => /local/pathshould have a link to/local/path/go.mod, so once I click the link i can jump to the corresponding module. Adding ago.modrather than/local/pathbecause vscode will show an empty page if you want to open a folder.
I want this feature because I define a CLI which helps to insert many local replacements via code generation, and it will be great if the local path has a link so i can click it in vscode. -
the docs should respect the replace, the jumped link should have version v0.32.0 rather than v0.30.0.
I can help to do the code change, actually I already have a draft here.
Editor and settings
No response
Logs
No response
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.help wanted

