-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
settings: add an option to opt out of gopls update prompts completely #963
Comments
An alternative option is to repurpose Or, maybe deprecate and replace it with |
Please, because often (especially when testing new gopls versions) you have to install them manually, and the periodic tool update check actually offers you to downgrade from the versions you have manually installed, it can be quite obtuse. |
Change https://golang.org/cl/278353 mentions this issue: |
This deprecates go.useGoProxyToCheckForToolUpdates. And, add go.toolsManagement.checkForUpdates off mode that avoids version check entirely. We will start actively prompting users of this change from the next release. We don't do that right now to avoid prompt until dev containers update their settings and get released. Updates #963 Change-Id: Id49103b37e2e6e19f0313792d7d3e72648e84ce5 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/278353 Trust: Hyang-Ah Hana Kim <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Rebecca Stambler <[email protected]>
'"go.toolsManagement.checkForUpdates": "off"` will completely disable any version checking. Not recommended unless it's used in actively maintained dev containers. Also, when testing new gopls versions manually installed, our extension shouldn't prompt for update if the gopls binary was built in modules mode correctly. If you find otherwise, that's a bug and please file an issue. |
As @hyangah mentioned on https://golang.org/cl/272209:
This prevents us from updating the hardcoded
gopls
versions as frequently. Should we have a setting that turns off the update prompts entirely?The text was updated successfully, but these errors were encountered: