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.
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.
vscode-go/extension/src/goMain.ts
Lines 123 to 126 in 40990c0
Moreover, #3168 also kicks in, and prevents from compiling tools with the suitable go versions.