Sublime Text3 plug-in--SVN, SFTP

Source: Internet
Author: User
Tags file upload ftp save file svn

Let's talk about the company's common work flow.

modifying files on a Web site is usually the process of using WINSCP to connect to a remote server, download the file you want to modify, drag it into winscp after saving and then refresh the Web site.

With this plugin, the workflow becomes: Open the file with the SFTP plugin--Modify the Save file and refresh the site.

The efficiency has been improved by at least one more, and the following describes a specific use method.


First, SFTP installation and use method

1. Open the command line of the installation code first ctrl+~

SUBLIM-TEXT3 Installing the code for the package control

Import urllib.request,os;pf= ' package control.sublime-package ';
Ipp=sublime.installed_packages_path (); Urllib.request.install_opener (Urllib.request.build_opener ( Urllib.request.ProxyHandler ()));
Open (Os.path.join (IPP,PF), ' WB '). Write (Urllib.request.urlopen (' http://sublime.wbond.net/' +pf.replace (', '%20 ') . Read ())

2, press crtl+shift+p command, enter install to bring up the install package, enter a bit, wait a few seconds after the text box input SFTP installation. Once the installation is complete, you can start configuring the server to use.

3, find the "File" menu, find "sftp/ftp" option, click on the configuration



After clicking, a new window will pop up, which is a configuration file



General is to configure the connection mode, server address, user name, password, path and so on. After the configuration is complete, save and enter a name as the identity.

4. Connect to the server to get a list of files

or click "File" to select the View server list in "Sftp/ftp"



Will pop up the server just configured, click the FTP server that needs to connect, link up and pop up the file list



Then click on a file, you can pop up some options, you can according to their own needs, the file editing, renaming what. After you click Edit, it opens locally and can be modified. When you press Ctrl+s to save the file, the file is automatically uploaded.

PS: (1) If the entire file upload down, save to right-click on the file, Sftp/ftp-->sync local-->remote ...., (transfer local files to the server)

(2) Right click Folder when update file, Sftp/ftp-->sync remote-->local ..., (update server file to local)



Second, SVN installation and use method

1, ctrl+shift+p Open the command panel, enter the install package return, search SVN, select the first all installed.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.