首页 > 代码库 > subline3插件安装

subline3插件安装

1.下载package control

https://packagecontrol.io/installation

2.将下载的包放到Sublime Text 3\Packages中

3.在subline里crtl+~打开控制台复制代码到控制台里import urllib2,os; pf=‘Package Control.sublime-package‘; ipp = sublime.installed_packages_path(); os.makedirs( ipp )ifnot os.path.exists(ipp)elseNone; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler())); open( os.path.join( ipp, pf),‘wb‘).write( urllib2.urlopen(‘http://sublime.wbond.net/‘+pf.replace(‘ ‘,‘%20‘)).read());print(‘Please restart Sublime Text tofinish installation‘)

4.重启subline即可

  1. 如果在Perferences->package settings中看到package control这一项,则安装成功。

subline3插件安装