Skip to content

x/tools/gopls: pause gopls from command line and enable it back #77396

Description

@igadmg

Is it possible to switch off/on gopls from command line or from go program? I have a heavy source code generation step in my project and it drives gopls crazy - it start to report fantom errors, when it picks changes from generated files being updated.
So I'd like to pause gopls for a while.

Also maybe there is a bug when it picks source changes form a file, but if that file is updated while gopls is procesing it gopls does not reevaluate new changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions