

As Save to Remote (or whatever you want to call it) is intrinsic to my workflow, editors like Atom that are just a bunch of features arbitrarily chosen, relying on extensions for the rest, are dodgy as buggery. Most editors that telly on extensions developed, potentially randomly abandoned, by third party developers, for this kind of functionality, are a half arsed solution, unfortunately. Click any of them and it will prompt for a password.

On the right-click, you will see the option to Upload and Download. Extension prompt for a password the first time when you perform the operation and it is a one-time process. Note that you didn’t enter your password yet. For another project, you need to follow the same steps and set up a sftp.json file. This sftp.json file saved in your project root directory under the. While using the extension, make sure your local project and remote project have the same files and folders structure. I recommend keeping the “uploadOnSave” value as false so the file will not upload automatically on saving it.

You can change it if you are using another port. In the search field type the ‘sftp’ and you will see the list of extensions.įill in the details like protocol, host, username, remotePath, etc. For extension installation, open the editor and click on the Extension icon from the left sidebar.

To use sftp extension, you must have a Visual Studio Code installed on your system. Some of the useful features of sftp extension are: It is an alternative to third-party software like FileZilla, WinSCP, etc. Using this extension, you can transfer files on the server within the VS code itself. It’s a developer-friendly extension which makes our development work of file handling much easy. In this article, we study one of the popular and must-use extensions called sftp. On their marketplace, one can find thousands of VS Code extensions for absolutely free. In addition to this, you can install the extensions to perform different kinds of tasks. Visual Studio Code(short form VS code) includes support for a built-in terminal, embedded Git control, syntax highlighting, snippets, code refactoring, and much more. This code editor is developed by Microsoft. It is an open-source code editor available for Windows, Linux, and macOS operating systems. Visual Studio Code is popular among developers.
