vscode-comment-translate icon indicating copy to clipboard operation
vscode-comment-translate copied to clipboard

wsl环境下,配置了http代理后无法使用

Open liupingquan opened this issue 3 years ago • 2 comments

vscode在配置了http代理后, vscode-comment-translate 似乎不能正确的使用代理. "http.proxy": "http://127.0.0.1:10880"

wsl环境下vscode访问拓展库的时候,可以正确连接到windows主机的代理, 但是vscode-comment-translate似乎访问的是wsl的本地ip, 无法连接到windows主机的代理.

liupingquan avatar Aug 10 '22 08:08 liupingquan

请问使用谷歌翻译的时候, 有什么建议呢?

liupingquan avatar Aug 10 '22 08:08 liupingquan

没有做过 代理的支持, 空了我研究下。。 也欢迎PR或提供方案

intellism avatar Aug 12 '22 02:08 intellism

@intellism 原来是因为代理的缘故吗, 不用代理能工作吗, 用其他翻译

dzylikecode avatar Sep 17 '22 11:09 dzylikecode

google cn、bing应该是可以直接使用的。 baidu目前接口升级了,目前用不了。


也建议使用aliyun翻译,,注册一个账号填写key,每个月有免费的量,够日常使用。 当然也可以安装其他三方翻译源

intellism avatar Sep 19 '22 01:09 intellism