-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
Do not update disabled extensions #76879
Comments
I see your point. But what is the reason behind having such extension installed and disabled, instead of uninstalling it? |
So that they don't update in the background and waste traffic on my metered connection ;) I switch between a lot of languages and runtimes regularly. I use VSCode for C++, C#, F#, PHP, Python, JS/Flow, Processing, GLSL/HLSL, Arduino and others, but I like to keep a "working set" of supporting extensions, depending on the project I'm working on. This comes down to the question "what does disabling extensions actually do", besides declutter the list? Initially I thought this would help with memory usage and startup time, but I don't believe that's really the case. If there's no practical use for disabling, maybe that option should be deprecated in favor of just uninstalling them. |
Yes, Disabling helps you in creating a working set. But I see your point and agreed that not auto updating a disabled extension makes sense. |
Know that disabled extension can also still popup a notification as well. I'm sure the C++ extension (ms-vscode.cpptools) occasionally (not sure when exactly) asks you to enter a survey even when the extension is disabled. |
@ffes This should not happen. Please file a separate issue with steps to repro. |
@sandy081, I will take a look at this one and follow up with a pull request. |
@lszomoru, I was wondering about the current status of this issue? If this issue still persists, I would love to contribute and try to resolve it. If this is the case, I would highly appreciate a code pointer to the update procedure, as I am fairly new to this project. |
I have not had the chance to look into this. @sandy081, is this something that we still want to pursue? |
@sandy081 It looks to me like you have already implemented the desired changes a few days ago?
|
This is not yet supported and contribution is very much appreciated. Code pointer: Auto update of extensions happen here vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts Line 880 in a416c15
|
Thank you @sandy081. I will look into it. And do you happen to know an easy way to test this function (i.e. forcing an auto-update)? |
I was able to implement this feature and also added a configuration to let users decide on whether disabled extensions should be updated. |
Today I noticed that VSCode updates and installs extensions even if they are disabled. In fact, I was reminded of a couple of extensions I no longer use by the hundreds of megabytes downloaded in the background.
Could you consider adding this as a toggle in settings or disabling this behavior altogether?
The text was updated successfully, but these errors were encountered: