I have tried uninstalling and reinstalling it, but the problem did not dissappear. It seems that when I open the app, more than 20 windows open at the same time, causing the app to crash. Here is a screenshot:

I've searched on the internet for what else to do, but I didn't come across any solution.
I am just reposting the answer from Chesedo's comment to be sure everyone can see it.
it is a problem with the latest release and for now, you can fix it by reverting to the last version
snap revert code
The solution was to start VS Code from the command prompt with the following command:
code --disable-extensions --max-memory=12288mb
Then to close all open tabs and correctly exit VS Code without any open files. Hopefully this helps someone!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With