TerminalFi / LSP-copilot

GitHub Copilot support for Sublime Text LSP plugin provided through Copilot.vim.
658 stars 25 forks source link

feat: add HTTP proxy support #95

Closed jfcherng closed 1 year ago

jfcherng commented 1 year ago

Resolves https://github.com/TerminalFi/LSP-copilot/issues/94

Add a proxy setting to settings in LSP-copilot.sublime-settings.

{
    "settings": {
        "proxy": "username:password@host:port" // or just "host:port"
    }
}
jfcherng commented 1 year ago

The reporter says this PR works. https://github.com/TerminalFi/LSP-copilot/issues/94#issuecomment-1472216815

pramodhrachuri commented 1 year ago

Any plans on adding socks5 proxy as well? SSH supports tunneling using socks5. So, might be useful. (Personally, I use it a lot haha)

jfcherng commented 1 year ago

Any plans on adding socks5 proxy as well? SSH supports tunneling using socks5. So, might be useful. (Personally, I use it a lot haha)

We don't implement actual feature here. The key is the server support it and we just sent an option to it. If you are interested in socks5, you can follow https://github.com/orgs/community/discussions/29127.