Why my VSCode extensions gets inactive whenever I update it? - visual-studio-code

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.

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.

How to cancel vscode extention update?

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

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 1.14.0 July update has major issues: How to roll back?

So with the new VSCode update version 1.14.0 it causes major issues which are
High CPU usage (causes freezes)
random crashes
extensions are not availabe
IntelliSense working half of the time
So my question is how can I roll VSCode back to the previous version without losing my configurations?
After 1.14.0 I have the same issues, specifically freezing for multiple seconds randomly during intellisense. They label it the previous month, so 1.14.0 is the "June" release.
Going to https://code.visualstudio.com/updates/v1_13 and click the links right below the title to download the older versions (don't click the green download button).
Downloading that windows executable for 1.13.1 and running it installed the old version over the new version without issue. All of my settings are the same and everything works fine.
Update April 2021
To find the previous version, click the Updates link on the top nav
Then click the correct link for your platform - that will download the latest update for that version.
Note:
After downloading the previous version (1.54.3 system) and reinstalling overtop the current (more recent) version, I received an error from the Python extension:
Cannot activate the Python extension because it depends on the Jupyter extension, which is not loaded.
Somehow the Jupyter extension was damaged and it was necessary to reinstall the Jupyter extension (that extension was greyed-out in the Extensions pane - it was only necessary to click the gear icon beside the Jupyter extension and install the latest version). After that, everything worked.
So, not completely painless, but it was easily resolved.

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).