To install visual studio code on arch linux, go to below link.
https://aur.archlinux.org/packages/visual-studio-code-bin
Clone the mentioned Git Clone URL and download on your system. Once download complete, go to folder and run following command.
makepkg -si