下載最新的 sublime text 3207,沒法安裝 Package Control。json
根據官方提示,手動安裝 Package Control。bootstrap
手動安裝 Package Control 後,沒法安裝第三方包。bash
一頓搜索之後,發現配置代理就能夠解決這個問題。app
/Users/[userName]/Library/Application Support/Sublime Text 3
,或者點擊屏幕頂部的 Sublime Text -> Preferences -> Browse Packages,就能夠找到安裝目錄。手動安裝 Package Control 後,Sublime Text -> Preferences -> Package Control ,或者使用快捷鍵 command + shift + p,就會彈出輸入框。ui
選擇 Package Control:Install Package ,選擇任意第三方包或者搜索任意第三方包,就會彈窗提示:spa
Package Control
There are no packages available for installation
Please see https://packagecontrol.io/docs/troubleshooting for help
複製代碼
控制檯錯誤以下(ctrl + `):代理
Package Control: Unable to download https://packagecontrol.io/channel_v3.json after 3 attempts
複製代碼
Sublime Text -> Preferences -> Package Settings -> Package Control -> Settings-User,加入 "http_proxy": "127.0.0.1:1087"。code
127.0.0.1:1087 替換成本身可使用的代理。get
{
"bootstrapped": true,
"http_proxy": "127.0.0.1:1087",
"installed_packages":
[
"Package Control"
]
}
複製代碼
再次安裝第三方包,盡情享受裝包的樂趣。string