How to cancel vscode extention update? - visual-studio-code

I'm working on a C++ project(on remote) so I heavily rely on C/C++ extension.
Recently they probably released some new component for the extension.
This triggered auto update but the Downloading stucked.
Now my C/C++ is useless.
I've tried disable/enable, uninstall/install, even rebooting the computer.
None worked.
So how can I cancel this update and get my extension back.
I've switched off extension auto-update so this won't happen again.

as far as i know there's no way currently to cancel an extension upgrade...
rather you can downgrade it and stop the extensions update
This would be helpful for downgrading

Related

VSCode: How to fix Python extension version for Python 2 compatibility and prevent automatic upgrade?

I have a legacy code using Python 2. The last version of VSCode Python extension that supports Python 2 is v2022.2.1924087327
It is very easy to change the extension to an older version.
My problem is that VSCode always automatically updates the extension. Since I'm using it in a remote machine, when I loose connection, it automatically updates the extension, and I must manually downgrade it, reload the window and start it again.
Is it possible to fiz the version of my Python extension in VSCode?
I've just found how to prevent extensions to automatically upgrade.
And I just set:
{
"extensions.autoUpdate": false
}
It will now ask me for each extension upgrade, it is an annoyance, but at least I can control it.
If someone finds how to disable auto update just for the Python extension, I'll mark it as the correct answer.

Why my VSCode extensions gets inactive whenever I update it?

Whenever I update my VSCode, few of my extensions gets inactive automatically. It's get activated if I uninstall the extension and reinstall it. you can find in the screen shot that few are inactive.
Very likely those extensions are outdated and are known to have compatibility problems with the current vscode version. Try updating those extension to their latest version.
Also check if you use the latest vscode version.

Will the settings & extensions would be retained after switching to new Windows setup?

I did the update and got recommendation I now use new Windows Setup. I clicked learn more and went to site page that said I would be prompted to switch and all my settings & extensions would be retained, but there was no prompt to switch. The prompt was to download. I did, and when went to install, got message saying I should uninstall prior installation. It is not at all clear that my settings and extensions will in fact be kept. Does anyone know for sure. I don't want to uninstall, install new version, and then discover that all my settings and extensions have been wiped out. Please help?
Sorry, I should have followed up on this a long time ago. My question wasn't at all clear. It was about updating to a new version of Visual Studio Code. I had been instructed to uninstall the prior installation first. I feared that uninstalling would wipe out all my prior settings and configuration changes.
I later found from VSCode that uninstalling would not do so, but that they would be retained in the new installation. They were.
I am not sure if the settings and extension are preserved when you are making the switch.
But I can recommend few ways in which you can preserve your settings and extensions.
Sync settings
Create a symbolic link between both of your editors in which you can share the same setting and extension, without worrying about keeping the setting and extension in sync with both the editors.

VScode deleting itself

I have a problem where my VSCode keeps deleting itself after I do anything on it. e.g. when I code in Latex or just using it as a text editor, the entire code.exe itself keeps deleting itself. I have been downloading the latest version from the website itself but it still does the same thing with deleting itself.
PS. When I say deleting itself, I meant the entire VSCode uninstalls itself.
Thanks.
There are several steps to kinda fix this:
First run troubleshooter.
https://i.stack.imgur.com/jRdXI.png
If the problem continues, uninstall using unins000.exe in the folder where you installed vscode, and reinstall it.
If you use insiders build, kindle use the standard or non-insiders version.
If the problem still continues, check for updates in your pc and make sure you have updated your pc to the latest.
It should work after this, if not kindle contact the vscode support through get help app or your pc's manufacturer's support team.
Hope this helps in your wonderful coding journey!!

VSCode doesn't delete older version of extension

I am developer behind a more clean Monokai Theme on VScode. [It is more of a simple hack.]
https://marketplace.visualstudio.com/items?itemName=Mit.Monokai-Polished
Whenever I release a minor update VScode doesn't delete older version from /extensions folder after reloading the window. How do I remove this bug.
My source code is for extension is available at this repo.
The older version will not be deleted if you just reload VSCode (clicking the Reload button in Extensions tab or using the Reload Window command. In order to really delete the older version, you need to Restart VSCode (close and reopen, all instances).
By the way, it appears to be designed this way, and not a bug. (related issue in VSCode repo).