Sublime text 3 安装 package control

今天把Sublime text升级到了3,但是没有package control控制台,网上看了很多都是用git的方法,很复杂,看了下官网。找到了,记录下!

The simplest method of installation is through the Sublime Text console. The console is accessed via the ctrl+` shortcut or the View > Show Console menu. Once open, paste the appropriate Python code for your version of Sublime Text into the console.

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( '' + pf.replace(' ','%20')).read())



  1. Tag
  2. JsFormat
  3. CSSFormat
  4. VBScript

There are no comment yet.

HTML tag cannot be used in this comment.