For arch linux, most prefer using yay for AURs, there is an AUR for VSCode.
$ yay -S visual-studio-code-bin
This fixed my issues