VSCode 1.14.0 July update has major issues: How to roll back? - visual-studio-code

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.

Related

VSCode update failures

I started having this problem a couple of months ago, I believe soon after I installed Visual Studio 2022. I am in the midst using VSCCode for an educational project (JavaScript) that will finish this weekend, so have mostly just been hoping VSCode would work until I finished. (I have not been using VS2022.)
The first time I had this problem, I was closing VSCode and a window appeared regarding some updates. After maybe 10 seconds I received a failure message. After that, I could not start VSCode.
I tried to uninstall VSCode, but it would not work. I tried to install VSCode from the main URL (Download for Windows Stable Build), but it would fail to install with a message about "Not being able to rename or write to a file".
I next tried the System Installer link on the /Download page, but I received the same message. I next tried the User Installer link on this page, and it worked. I could launch VSCode again, but the icon in the toolbar was just a white page instead of the VSCode icon.
I don't exactly remember when, but at some point, perhaps with manual updates from the Help toolbar in VSCode, the VSCode icon reappeared in the toolbar.
But then a few days ago, when closing VSCode the window appeared again regarding some updates, then the failure message, and then VSCode would not start. I tried the various download steps again, but only the User Installer would work. And again, just the blank page for an icon in the toolbar. So just leaving everything open for now!
After this weekend, I am hoping to fix this issue. But hoping someone knows that the problem is.
I am running Windows 10 Pro (up to date), and have the blue dot telling me I can upgrade to Windows 11.
Since VSCode is working, maybe I can do a complete un-install. Or perhaps upgrade to Windows 11, or maybe a complete clean install of Windows 10 or 11.
Has anyone else had this issue?
Thanks!

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.

Open External Terminal keybinding not working

I can't open a new external terminal with CTRL + SHIFT+C. Did a new update remove this function? I was able to use this shortcut before, but now I cannot.
This appears to be a bug with the current version of Visual Studio Code, as multiple users are reporting it isn't working across different operating systems:
GitHub Issue #1
GitHub Issue #2
I updated to 1.57 the other day, and it is not working for me now either. Previously it was on a slightly older version that I updated from.
Update:
The latest Visual Studio Code Insiders release (1.58) has addressed this as noted in this GitHub issue. If you really want this functionality back, you can download the Insiders edition, otherwise you'll need to wait until the next update for the main application.
Final Update:
The May Recovery update resolved this issue. Download the update, and you should be able to once again open external terminals through the command.
It was the issue vscode 1.57 which lasted for about an week.
If you upgrade to the latest version of vscode, it will work now.
Good Job VSCODE !

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

VS Code - how to rollback extension/install specific extension version

Just got an update for the Golang extension and it appears to be broken, reporting an error on a package main that's literally just a list of my imports with no useful information (see screenshot below). It's refusing to lint or do anything useful which is annoying.
So I want to quickly jump back to the previous version, how can I do this in VS Code? I can't seem to find it in the docs at all.
NB: I'm using VS Code version 1.10.1 with only the golang package. The code is valid golang.
From v1.30 release notes: install previous versions of extensions.
You can now go back to a previous version of an extension if there are
issues with the current version. VS Code provides an Install Another
Version action on an installed extension which shows a dropdown of
available versions.
The option to install another version is in the context menu. Or the gear icon for each extension. Or the Extension Page in vscode: Uninstall dropdown: Install another version....
For me when I do this - without "Disable Auto Updating Extensions" (I assume that the Debugger for Chrome is such an extension) it does not auto-update on reload or close/open but shows a button for that extension to install the latest version instead.
So it appears you don't have to disable all auto-updating extensions just to revert one extension to an older version and keep it at that older version. [leave a comment if you find that isn't true, thanks]
Update for vscode v1.75:
See pinning extensions (to a specific version):
Make sure you have extension autoupdates enabled and try pinning
extensions to a specific version using following UI. Make sure
extensions are not getting auto updated after pinning.
From CLI : Install a specific version using following format -
code-insiders --install-extension eamodio.gitlens#13.1.1
From Extensions UI - Use *Install Another Version... action in the
context menu of the installed extension.
Make sure the pinned version is synced across VS Code instances - Use
Settings Sync feature to test this. To have different instances of VS
Code on same machine, open VS Code from CLI using different
user-data-dir and extensions-dir. Eg: code-insiders --user-data-dir <path> --extensions-dir <path>
Export and Import the profile with the pinned extension and make sure
in the imported profile, extension is still pinned. Export and Import
profile actions are available in the global activity context menu
(gear).
Si it appears that regardless of the Disable Auto Updating Extensions setting, pinning/reverting to a previous version of an extension should result in that extension not updating.
[EDIT] now it is supported -> see accepted answer
Currently downgrading is not (yet) supported.
However, you can uninstall the extension and then manually download and install a specific version by hand: https://code.visualstudio.com/docs/extensions/install-extension
And also this excellent answer: How to install VSCode extensions offline?