Skip to content

Tool version check occurs too late #3316

@hyangah

Description

@hyangah

The extension offers to update tools if the tools are too old.
Unfortunately, it occurs too late - after gopls starts. This doesn't play nicely with gopls's crashes.

await commands.startLanguageServer(ctx, goCtx)(RestartReason.ACTIVATION);
suggestUpdates();
offerToInstallLatestGoVersion(ctx);

Moreover, #3168 also kicks in, and prevents from compiling tools with the suitable go versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions