Yesterday I have uploaded a video on how to work with local Linux in WSL with VS code so that you don't have to really use nano or vim editor rather you can use the Visual Studio Code IDE which gives statement completion and on all the richness of the world you might expect an editor to give you. Now that may not be the ideal case for all the scenario so you might be working with a Linux Server or Linux Machine somewhere in the cloud or in another connected machine and then you want to connect to that to be able to modify the files from a Visual Studio Code.