Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
VSCODE在Linux上不适用于我_Linux_Visual Studio Code - Fatal编程技术网

VSCODE在Linux上不适用于我

VSCODE在Linux上不适用于我,linux,visual-studio-code,Linux,Visual Studio Code,刚刚了解了VSCODE,很高兴尝试它。我下载、解压缩并运行了可执行文件。我得到: $ Code [2183:0429/201254: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 s

刚刚了解了VSCODE,很高兴尝试它。我下载、解压缩并运行了可执行文件。我得到:

$ Code
[2183:0429/201254: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
bash: .bashrc: No such file or directory
^C
在这一点上,没有窗口出现,没有任何事情发生,我所能做的就是离开它。除了运行它,我在指令中看不到我应该做的任何事情。还有其他人有这个问题吗


[Arch Linux 4.0.1]

对于Arch Linux,AUR中提供了一个软件包

此AUR软件包具有以下功能:

alsa-lib
cairo
fontconfig
gcc-libs
gconf
gtk2
libxtst
nss
python
作为其依赖项。从包管理器安装这些依赖项应该可以解决这个问题。我试图通过删除包来复制错误,但没有成功

我也得到了错误消息的第一部分。似乎可以忽略它,因为编辑器按预期启动

[7190:0501/233446: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.
同样的事情也发生在我身上。
在VisualStudioCode官方常见问题解答中,他们声明,他们已经意识到了这个问题。他们还没有解决方案:

我会继续查看该页面,随着时间的推移,他们很可能会将解决方案上传到那里。

该项目可能有很多观察者。 我运行此程序并修复该问题:

# increasing the capacity of watchers

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

这个问题的解决办法是什么?你能解释一下你做了什么吗?我最初对VSC的兴趣是基于一个误解。我对使用它进行调试非常感兴趣,但对将其用作编辑器不感兴趣。显然,它现在只是一个编辑。