Friday, 31 March 2023

How To Update Visual Studio Code for MacBook Users

Are you a MacBook user and when you try to update your Visual Studio Code, you get this 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."??? 

... sucks, I know. I mean, Visual Studio Code auto updates on Windows, but not on MacBook. I smell beef. Anyway, here is how to fix that problem. If you downloaded, and are running Visual Studio Code from your Downloads folder(which is read-only), it will not auto-update. 

Open your Finder, go to Downloads, drag the downloaded Visual Studio Code file to the Applications directory and run it from there. If that does not work, send it back to Downloads, press the Command key, and then drag the file to Applications directory. Restart your Visual Studio Code and try updating. If this still does not work, then restart your Mac. Now, your update should be possible, and then you can install the chatGPT AI extension that will make debugging easier for you. You're welcome.