Given you have installed the vscode versions natively and have Python installed:
- mkdir -p ~/.local/share/nautilus-python/extensions
- Place in ~/.local/share/nautilus-python/extensions/
I updated the script* to include both: https://raw.githubusercontent.com/jamescalderon/code-nautilus/master/code-nautilus.py
*Original: GitHub - harry-cpp/code-nautilus: VSCode extension for Nautilus