当前位置:首页 > 虚拟机 > 正文

vscode连接ubuntu虚拟机


一、解决Ubuntu下vscode中zsh乱码的问题最近安装了Ubuntu18.04LTS,安装了zsh和themeagnoster后,修复了终端中的错误代码问题,这实际上是字体问题。
在此处检查解决方案。
但是我在vscodered中发现,将终端设置为zsh后,字符仍然是乱码。也就是说,仍然存在字体问题。如
二、ubuntuvscode无法启动安装是否正确?否则它将无法工作
安装VisualStudioCode
首先您需要安装UbuntuMake。UbuntuMake存在于Ubuntu15.04资源库中,但安装VisualStudio需要UbuntuMake0.7或以上版本。因此,需要通过官方PPA更新到最新的UbuntuMake,支持Ubuntu14.04、14.10和15.04,但仅支持64位版本。
打开终端并使用以下命令通过官方PPA安装UbuntuMake:
sudoadd-apt-repositoryppa:ubuntu-desktop/ubuntu-make
sudoapt-getupdate
sudoapt-getinstallubuntu-make
安装UbuntuMake后,使用以下命令安装VisualStudioCode:
umakewebvisual-studio-code
要卸载VisualStudioCode,请使用相同的UbuntuMake命令。如下:
UMakewebvisual-studio-code--remove
如果您不使用UbuntuMake,也可以从微软官网下载安装文件。
下载Linux版VisualStudioCode