如何配置VS代码以记住代理设置(Windows)

ame*_*ina 15 visual-studio-code vscode-settings

我有点厌倦了这个窗口:

VS Code代理验证窗口

我检查了配置和我加入了代理URL的http.proxy条目描述这里:

"http.proxy": "http://frustratedusername:password@pesky.proxy.com:8080/"
Run Code Online (Sandbox Code Playgroud)

但它没有用.然后,我尝试设置http_proxyhttps_proxy环境变量,但它既不起作用.

有没有办法让VS Code记住代理设置?

小智 0

我尝试在命令本身中使用代理开关。

像这样的东西对我有用: node-gyp configure --proxy=http://proxy.server.name:port