Sublime Text的Package Control插件配置proxy

Sublime Text中的default的package control中对proxy似乎并没有生效, 始终无法浏览插件列表, 查了不少资料, 应该是对https的代理设置上有点问题. 下面说一下解决方案.

尝试修改package control中的repositoryhttps改为http:

From:

1
2
3
"repository_channels": [
"https://sublime.wbond.net/repositories.json"
]

To:

1
2
3
"repository_channels": [
"http://sublime.wbond.net/repositories.json"
]

File: Package Control.py

From:

1
url = download['url']

To:

1
url = download['url'].replace('https','http')

最后, 在配置package control的http_proxy应该就没有问题了