Description
Does this issue occur when all extensions are disabled?: Yes/No
Related issue: microsoft/pylance-release#6710 (comment)
- VS Code Version: 1.89 -> 1.95
- OS Version: MacOS 14.5
Steps to Reproduce:
- Install vscode, but forget to move it from "Downloads" to "Applications"
- Vscode will never update automatically, making it fall behind over time.
- Try to update manually will run into an error (see below)
- Eventually, extensions installed on remote ssh server (which uses the same version as your local) will start subtly failing, sometimes it simply fails to boot. For example: Pylance does not boot properly and fails to highlight text when used on an SSH remote pylance-release#6710
The current error message:
Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. This might mean the application was put on quarantine by macOS. See this link for more information.
What needs to be done, specifically, is to move from Downloads to the "Application".
Suggestion
It would be good to update the error message to explicitly say:
Move the file "Visual Studio Code" from "Downloads" to "Applications"
The link could be updated to a more relevant link, which explains how to "unquarantine" VSCode: https://stackoverflow.com/a/65422671/13837091
That error message could appear as a popup if the extension tries to automatically update but fails. Right now, the popup only appears AFTER you try to manually update with Code: Check for updates...
.