在Sublime上设置代理



我正试图在sublime上设置一个代理来下载软件包。我试着按照问题中的步骤崇高文本3包控制安装

然而,我不清楚应该在哪里这样做。以下是我的步骤

  1. 打开Sublime
  2. 单击"首选项"->程序包设置->程序包控制
  3. 打开两个文件名相同的窗口Package Control.sublime-settings
  4. 我无法编辑左侧的窗口。我可以编辑右边的窗口
  5. 我在下面的窗口中发布了实际的代理
{
"bootstrapped": true,
/*"in_process_packages":
[
],*/
"installed_packages":
[
"Package Control"
],
},
{
// An HTTP proxy server to use for requests. Not normally used on Windows
// since the system proxy configuration is utilized via WinINet. However,
// if WinINet is not working properly, this will be used by the Urllib
// downloader, which acts as a fallback.
"http_proxy": "",
// An HTTPS proxy server to use for requests - this will inherit from
// http_proxy if it is set to "" or null and http_proxy has a value. You
// can set this to false to prevent inheriting from http_proxy. Not
// normally used on Windows since the system proxy configuration is
// utilized via WinINet. However, if WinINet is not working properly, this
// will be used by the Urllib downloader, which acts as a fallback.
"https_proxy": "",
// Username and password for both http_proxy and https_proxy. May be used
// with WinINet to set credentials for system-level proxy config.
"proxy_username": "",
"proxy_password": "",
}

当我重新启动sublime时,我得到以下错误,所有更新都会自动注释掉

意外的尾随字符。。。

我是一个完全的新手,但任何帮助都将非常感谢

感谢

设置文件需要是有效的JSON。这意味着,除其他外,所有东西都需要是一个大数组的一部分,由大括号{}定义。删除第10-12:行

},
{

并且它将是有效的。

最新更新