sulime代理設置、插件管理
阿新 • • 發佈:2019-02-12
.json let pic ket ack socks5 啟動 python erro
使用command palette或者package control,可以管理插件:安裝、更新、啟動、關閉插件、卸載插件等
配置Package Control
配置舉例:
{ "bootstrapped": true, "channels": // 設置通道,通過國內通道,更新插件;如果有代理,就可以不用設置了。 [ "https://raw.githubusercontent.com/7t7t/channel_v3.json/master/channel_v3.json" ], "debug": true, // 開啟debug"http_proxy": "http://127.0.0.1:8123", // 設置代理,避免被墻,使用polipo中轉為socks5代理 "https_proxy": "http://127.0.0.1:8123", // 設置代理,避免被墻,使用polipo中轉為socks5代理 "in_process_packages": [ ], "installed_packages": // 已經安裝的插件 [ "Alignment", "Anaconda", "BracketHighlighter","Codecs33", "ColorPicker", "ConvertToUTF8", "CSSLint", "Emmet", "FileDiffs", "HTML-CSS-JS Prettify", "JSLint", "Markdown Slideshow", "MarkdownLivePreview", "MarkdownPreview", "Package Control", "Python Breakpoints", "Python Fix Imports", "PythonTraceback", "sublime-text-2-buildview", "SublimeCodeIntel", "SublimeLinter", "SublimeLinter-csslint", "SublimeLinter-flake8", "SublimeLinter-jshint", "SublimeLinter-jsxhint", "SublimeLinter-pep8", "SublimeLinter-pyflakes", "SublimeLinter-pylint", "SublimeServer", "SublimeTextGitX", "SummitLinter" ] }
debug窗口,可以查看插件安裝、更新的信息等
由於sublime不支持socks5,所以需要使用polipo中轉以下:
brew install polipo
polipo socksParentProxy=19.68.6.32:1080
參考:
https://jack006.com/mac-sublime-http.html
http://www.miaoqiyuan.cn/p/package-control-error
sulime代理設置、插件管理