一、问题现象
在Linux(Ubuntu)中使用snap安装VS Code:
sudo snap install code报错信息如下:
error: This revision of snap "code" was published using classic confinement and thus may perform arbitrary system changes outside of the security sandbox that snaps are usually confined to, which may put your system at risk. If you understand and want to proceed repeat the command including --classic二、解决方法
在命令后加--classic,即可正常安装VS Code
sudo snap install code --classic成功安装VS Code
在命令行输入code,即可打开VS Code