在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.

神奇。

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐