File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,6 @@ const NIGHTLY_TAG = "nightly";
8
8
9
9
export type RunnableEnvCfg = undefined | Record < string , string > | { mask ?: string ; env : Record < string , string > } [ ] ;
10
10
11
- export class ProxySettings {
12
- proxy ?: string = undefined ;
13
- strictSSL : boolean = true ;
14
- }
15
-
16
11
export class Config {
17
12
readonly extensionId = "matklad.rust-analyzer" ;
18
13
@@ -103,18 +98,6 @@ export class Config {
103
98
}
104
99
get serverExtraEnv ( ) { return this . get < Env | null > ( "server.extraEnv" ) ?? { } ; }
105
100
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
- }
118
101
119
102
get inlayHints ( ) {
120
103
return {
You can’t perform that action at this time.
0 commit comments