大纲
- VScode 的代理设置
1.1 Google Gemini assist 的代理设置 - zotero的代理设置
3.spotify的代理设置
VScode代理设置
在全局setting(json) 里面
// ✅ 代理配置开始 (确保这些行没有被 // 注释掉)
"http.proxy": "http://127.0.0.1:port_ID",
"https.proxy": "http://127.0.0.1:port_ID",
"http.proxyStrictSSL": false,
Google Gemini assist 的代理设置
同全局
// gemini API setting
"geminicodeassist.geminiApiKey": "API key",
"geminicodeassist.inlineSuggestions.enableAuto": true
zotero的代理设置
Zotero 内部有一个隐藏的代理选项:
Edit → Preferences → Advanced → Config Editor
搜索 network.proxy,你可以手动改:
network.proxy.type = 1(手动设置)
network.proxy.http = 127.0.0.1
network.proxy.http_port = 7890
network.proxy.ssl = 127.0.0.1
network.proxy.ssl_port = 7890
其中:
network.proxy.type 在 Firefox/Zotero 里:
0 = 无代理
1 = 手动设置代理(你想要的)
2 = 自动发现
4 = 使用 PAC
5 = 使用系统代理
这样 Zotero 就固定走你的代理了,而不是依赖系统。
spotify
在设置设为HTTP,输入主机ip和port ID重启就ok~