Skip to content

x/tools/gopls: show progress report when gopls is downloading a module #38233

Open
@stamblerre

Description

@stamblerre

@ardan-bkennedy suggested that we should try to use the progress reporting functionality of LSP to indicate when a module is being downloaded by go/packages. Otherwise, we just have a slow save that don't give the user any indication that gopls is communicating with the network.

This will be tricky because only go/packages knows that it's downloading a module. My current best guess at how to do this is to put something in the config's Logf function...or maybe use a trick like packagesinternal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.ToolsThis 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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions