Skip to content

Commit f63690c

Browse files
committed
Remove proxy settings
1 parent 650ec14 commit f63690c

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

editors/code/src/config.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ const NIGHTLY_TAG = "nightly";
88

99
export type RunnableEnvCfg = undefined | Record<string, string> | { mask?: string; env: Record<string, string> }[];
1010

11-
export class ProxySettings {
12-
proxy?: string = undefined;
13-
strictSSL: boolean = true;
14-
}
15-
1611
export class Config {
1712
readonly extensionId = "matklad.rust-analyzer";
1813

@@ -103,18 +98,6 @@ export class Config {
10398
}
10499
get serverExtraEnv() { return this.get<Env | null>("server.extraEnv") ?? {}; }
105100
get traceExtension() { return this.get<boolean>("trace.extension"); }
106-
get proxySettings(): ProxySettings {
107-
const proxy = vscode
108-
.workspace
109-
.getConfiguration('http')
110-
.get<null | string>("proxy")! || process.env["https_proxy"] || process.env["HTTPS_PROXY"];
111-
const strictSSL = vscode.workspace.getConfiguration("http").get<boolean>("proxyStrictSSL") ?? true;
112-
113-
return {
114-
proxy: proxy,
115-
strictSSL: strictSSL,
116-
};
117-
}
118101

119102
get inlayHints() {
120103
return {

0 commit comments

Comments
 (0)