Before fix:
-
Open the Terminal and in your preferred text editor open
/usr/share/applications/code.desktopwith administrative privilages (i.e.sudo nano /usr/share/applications/code.desktop). -
Now comment out the existing Exec line by adding
#to the front and add the below line:
