This simple extension shows the option in the context menu to open a file or folder in Visual Studio Code.
Copy the VSCodeExtension.py
to ~/.local/share/nautilus-python/extensions/
. Then restart Nautilus.
The easiest way to do it is by downloading the source and running make
in your terminal. This will handle things for you.
Ricardo Rodrigues