Open Ksc0721 opened 6 months ago
According to Visual Code's http.proxy settings https://github.com/microsoft/vscode/blob/main/src/vs/platform/request/common/request.ts#L143
http.proxy
It could be "socks5://10.1.2.3:7777", and doesn't match vscode-xml's HOST_AND_PORT_EXTRACTOR https://github.com/redhat-developer/vscode-xml/blob/main/src/settings/proxySettings.ts#L155
In a word, it will produce a Cannot read properties of null (reading '1') exception, and the language client will not started.
Cannot read properties of null (reading '1')
Is there any chance to have a PR?
Unfortunately, not only formatting, but the entire extension does not work if socks5 proxy is enabled
According to Visual Code's
http.proxy
settings https://github.com/microsoft/vscode/blob/main/src/vs/platform/request/common/request.ts#L143It could be "socks5://10.1.2.3:7777", and doesn't match vscode-xml's HOST_AND_PORT_EXTRACTOR https://github.com/redhat-developer/vscode-xml/blob/main/src/settings/proxySettings.ts#L155
In a word, it will produce a
Cannot read properties of null (reading '1')
exception, and the language client will not started.