My editor of choice is Visual Studio Code and it comes handy while contributing to OpenStack. I am running DevStack on a local VM and here is how I connect VSCode to it:
Open Visual Studio Code and click on the Remote Explorer icon on the left side:

Add a new SSH Target (Click on the +):

Type in the SSH command (for example I would run ssh -p 2204 maari@127.0.0.1):

OR to add a new target straight to the config file, click on the cogwheel icon:

open the /../.ssh/config file and add your information:

Mine looks like this:

Now, once you’re connected to your VM, click on the Explorer icon on the top left corner and Open Folder:

now you can navigate in your VM 🙂
When running DevStack, for example, I like to open the /opt/stack/ folder so I have all my repos listed together:

