I removed the snap version and install the deb file which works for me
sudo snap remove code
Downlaod code_1.58.1-1626158276_amd64.deb
(latest) file from https://code.visualstudio.com/download
and install it with --fix-broken option
cd ~/Downloads/ && sudo apt --fix-broken install ./code_1.58.1-1626158276_amd64.deb
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…