These are the things you can do to fix Visual Studio Code crashing or freezing issue on Windows 11/10. Update Graphics Driver Turn off Hardware Acceleration Delete Backup of Open Files Reinstall ...
Visual Studio 2022 is an upgrade over its predecessor ... from there and you will be good to go. Also read: Best Code Editors for Windows that every developer must be using.