8000 x/tools/gopls: consider replace directives in the zero-config algorithm · Issue #64888 · golang/go · GitHub
[go: up one dir, main page]

Skip to content

x/tools/gopls: consider replace directives in the zero-config algorithm #64888

@findleyr

Description

@findleyr

After a little time using the zero-config algorithm (#57979), it has become apparent to me that we should consider replace directives within the workspace.

Specifically, I noticed while navigating around Kubernetes that gopls creates too many unnecessary views for modules in the staging directory.

If a module replaces a directory contained in the workspace, the selectViews algorithm should merge those views.

CC @adonovan @hyangah

Metadata

Metadata

Assignees

No one assigned

    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

      0