sublime text 2 加增 ftp/vsft

一个闪亮的编辑器,必须要有ftp组件。
1.
首先安装 package control
2.
然后安装 ftp/vsftp
3.
然后配置

1.
View -> Command Line
粘贴以下代码到底部命令行并回车:
import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())
然后重启一下

2.
Perferences->package settings中看到package control
然后 输入 install package
搜索 ftp
点击就安装了

安装经常不成功尝试
If you are having trouble with the stable version (v1.10.2) of SFTP, please use the instructions below to install the testing version (v1.10.2.6), which includes quite a number of bug fixes.

1 Run the Package Control: Add Repository command from the command palette
2 Paste the URL http://sublime.wbond.net/testing/packages.json into the input box at the bottom of Sublime Text and press enter
3 Run the Package Control: Upgrade Package command from the command palette and select SFTP
4 Restart Sublime Text

3
使用时候已目录为和project为单位。

你可能感兴趣的:(sublime,text,2,ftp/vsft)