Here are the steps I made to compile Visual Studio Code on a Raspberry Pi 3
rpi 2 should work too I guess
Compiling takes some time, but only has to be done once of course.
It works on Ubuntu Mate 15.10.3 although it is slow.
It takes somewhere between 40 - 50 seconds to start on a Pi 3.
I will try it on Raspbian soon.
 Yes it works on Raspbian too!
sudo curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install libx11-dev
sudo apt-get install git build-essential
mkdir -p /home/pi/Development/
git clone https://github.com/microsoft/vscode
./scripts/npm.sh install --arch=armhf
You can install the haxe plugin by checking out the git repo at https://github.com/jcward/vscode-haxe
git clone https://github.com/jcward/vscode-haxe.git
then quit en restart vscode. I am getting warnings that the haxe extension is taking (too) long to start.
But it will get there eventually..
I am also trying to get the vscode-hxcpp-debug extension to work. But no luck so far.
I can compile the debugger-binary by using the build-linux.hxml and adding the -D noM32 flag.But it won't run, so I guess something more is needed. I will update this post when it's working.