There is also a YT Tutorial for this article.
Further information | Computing For Geeks
Make sure you update Kali first.
sudo apt update
sudo apt install curl gpg gnupg2 software-properties-common apt-transport-https
curl https://packages.microsoft.com/keys/microsoft.asc | gpg — dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
echo “deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main” | sudo tee /etc/apt/sources.list.d/vscode.list
sudo apt update && sudo apt install code