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( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())

搞定。。

插件列表

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

2019-01-27更新

最近package control安装总是报服务器无法连接,增加
package control user设置

{
	"bootstrapped": true,
	"channels":
	[
		"https://raw.githubusercontent.com/wilon/sublime/master/download/channel_v3.json"
	],
	"in_process_packages":
	[
	],
	"installed_packages":
	[
		"Package Control"
	]
}

There are no comment yet.

HTML tag cannot be used in this comment.