在ubuntu 安装和使用visual studio code:
1. 安装。这个相对容易。我是在软件中心安装的。
command line could be more directlly:
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install code # or code-insiders
因为从这里发现,termial name is "code" , that would be important information.
2. proxy configrations:
这里绕了一些弯。需要先自己装个server,将socket5转换为http
https://www.cnblogs.com/itxdm/p/5483355.html
Privoxy
3. 然后将proxy配置好:[file]--[Preference]-proxy
{
"http.proxyAuthorization": null,
"http.proxy": "http://127.0.0.1:8118",
"http.proxyStrictSSL": false
}
4. 最重要是这一步:
新开一个Terminal,然后键入code。
不要用桌面的图标启动。那样不能安装extention.
神奇。