Right-click to open the sidebar folder menu and select Map to Remote (If you want to down the remote project to the local, it is best to create a local folder with the same name as the project folder, Then drag this empty folder to the sidebar of sublime, and then right-click on this folder). The configuration information is stored in a file named sftp-config.json Among the files, the folder storing the configuration file can be mapped to the configuration file remote_path The remote path specified by the parameter. In other words, if we want to use the remote synchronization function, we must add the folder we want to operate in the sidebar of Sublime Text. Sync with remote can only exist in the right-click menu of the folder in the sidebar. More functions are left to you to explore! You can't take a screenshot, so I won't repeat them. If you need to view other files on the server, or need more functions, you can directly right-click in the current file and select "SFTP/FTP", and more options will pop up to use. When you press ctrl + s to save the file, the file will be uploaded automatically. After clicking Edit, it will be opened locally and can be modified. See Use default system editor button on Editor preferences dialog. If your have your favorite editor associated with text files in Windows, you can have WinSCP autodetect the editor, to avoid manually configuring it. See below for details on some popular editors. You can edit and rename the file according to your own needs. You can configure WinSCP to use your favorite text editor for editing files. The efficiency has been improved by at least one time, so let's introduce the specific usage method. After the modification is completed, save it and upload it to the remote server automatically.Īfter using this plug-in, the workflow becomes: use the SFTP plug-in to open the file -> use sublime to edit and modify the file -> save the file -> refresh the page. ![]() After clicking download and edit, you can open the file for modification. You can choose to download, edit, rename, delete, and so on. Its main function is to connect to a remote server via FTP/SFTP and get a file list. ![]() SFTP under Sublime, as long as Ctrl+S can synchronize the local to the server. Xftp software is commonly used to transfer files with remote services under Win, but if you frequently drag remote files to the local editor and then transfer them back to the remote server during project development, it is really troublesome, but the SFTP plug-in in Sublime makes this The world is much better. Sublime Text 3 set up SFTP access to ubuntu
0 Comments
Leave a Reply. |