Skip to content

x/tools/gopls: kubernetes' vendored modules are opened as new views #65830

@findleyr

Description

@findleyr

While testing zero-config gopls (#57979), I noticed that jumping to definition on a vendored Kubernetes module creates a new View for that module. This could result in increased memory usage, and partial references results.

We should not create Views for vendored modules. The fix seems very straightforward, so we should fix this for v0.15.0.

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions