First download the new old icon: https://cl.ly/mzTc (based on this)
You can also use the icon you want, but you need to convert it to .icns
. You can use this service to convert PNG to ICNS.
Go to Applications
and find VSCode
, right click there and choose Get Info
. Drag 'n drop the new icon.
- Close VSCode.
- Run
killAll Dock
and wait. - Open it, done. ✨
Voila.
Thanks a lot