-
Notifications
You must be signed in to change notification settings - Fork 78
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
Setting to stop constant upgrade message #1198
Comments
I've noticed this annoyance too. However, while it would be possible to suppress this warning, my concern is what happens when extension depends on newer features in As far as I know, most other VS Code language extensions depend on the newest version of their respective language servers. Have you considered bundling older It is also possible to install older versions of the extension directly in VS Code: After that, VS Code should ignore updates to the newer incompatible versions of the extension by default: |
Okay, if incompatibility is the problem that is being solved, that is useful to know. Several issues with constant upgrade messages as the solution though:
By contrast, other vscode plugins may do a warning but provide you a config option to disable/fix the warning in the message itself. Examples:
Or they add a problem in the "Problems" pane, or auto-open the "Output" pane with a "This needs {tool} {version} or higher" message ... but only when the incompatibility is detected. Or the more advanced ones provide their own compatible binary during the extension activation. (If you need a GitHub/GitLab CI job that always builds the latest |
Sorry for the late response. First, to address a few specific things:
Now, here is my proposed solution to this issue:
|
Your proposed solution sounds really good. |
Yeah, that sounds reasonable to me as well. |
With the DkML distribution (ie. the Windows one) the premise is to have a set of well-tested packages available to an end-user. "Well-tested" means a couple hundred of the most important OCaml packages are pinned to what is known to work on Windows. In fact, there is an offline version of the DkML installer that takes this idea further.
But having a stable set of versions, or an offline installation, is not supported:
Every time VS Code launches that message is shown.
Can that message be shown once? Or have a "Stop this from being shown" action? Or have some hook (environment variable?) to stop the messages entirely?
Thanks.
The text was updated successfully, but these errors were encountered: