我已经下载了VSCode-linux-x64.zip。当我尝试使用GUI提取它时失败:



可以使用终端提取档案,而不会导致错误:

$ unzip VSCode-linux-x64.zip


如果然后尝试从终​​端打开程序代码,则会得到以下结果:

$ ./Code
[21746:0430/141853:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
[21746:0430/141854:WARNING:file_descriptor_set_posix.cc(30)] FileDescriptorSet destroyed with unconsumed descriptors: 0/1
[atom event]: render process crashed!


我可以在这里使用Ctrl + C退出,或者让代码弹出来告诉我:



如果我尝试通过双击图标打开代码,也会发生此错误。

VSCODE does not work for me on Linux也有同样的问题,但是由于我运行的是Ubuntu 14.04,而不是Arch Linux,因此我认为它们的解决方案不适用于我。

最佳答案

找到解决方案,只需从命令行解压缩

unzip VSCode-linux-x64.zip


然后双击代码文件运行

09-04 21:02
查看更多