- Follow the linux documentation found here to install Visual Studio Code.
- Copy the contents of code.desktop to ~/.local/share/applications/code.desktop
- Change
/home/dan/Apps/vsc
in the code.desktop file to the location you extracted the application to.
This how only been tested by myself on ElementaryOS Freya.
The StartupWMClass is wrong. The VSC windows aren't tracked under Gnome with this setup.
StartupWMClass=visual-studio-code
should beStartupWMClass=code
.See https://aur.archlinux.org/packages/visual-studio-code/