root权限启动vscode

You are trying to start Visual Studio Code as a super user which isn't recommended. If this was intended, please add the argument `--no-sandbox` and specify an alternate user data directory using the `--user-data-dir` argument.

code --no-sandbox --user-data-dir=/usr/share/code

/usr/share/code是vscode的安装路径

你可能感兴趣的:(linux开发,vscode,ide,编辑器)