To install vscode in Termux you need to install ubuntu first from here.
Download VS Code tar file from microsoft vscode.
After download extract to termux $HOME
directry using tar -xvf tar_file
Now remove chrome-sandbox rm VSCode-version/chrome-sandbox