Skip to content

x/tools/gopls: rename should also handle references in godoc links #64495

@dolmen

Description

@dolmen

Go version

go version go1.21.4 darwin/arm64

What operating system and processor architecture are you using (go env)?

gopls v0.14.2

What did you do?

Renaming the FuncA function should also change the godoc link in FuncB documentation.

func FuncA() {
}

// FuncB is same as [FuncB].
func FuncB() {
}

What did you expect to see?

godoc link replaced with the reference to the new name of FuncA.

What did you see instead?

FuncA is still referenced but the symbol doesn't exist anymore. The documentation is now inconsistent (dangling link).

Metadata

Metadata

Assignees

Labels

FeatureRequestIssues asking for a new feature that does not need a proposal.FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.help wanted

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions