我已经在装有 Ubuntu 16.04 LTS 的笔记本电脑上安装了 VS Code。我尝试了多种安装方法,结果相同;最近,我在这里遵循了 Cactux 的“新”说明。我试过以两种方式打开应用程序都没有效果。
code,该命令什么也不做,我会在不到一秒钟的时间内收到一个新提示。由于我对 Linux 比较陌生,因此我正在努力尝试尝试什么。
which codeyields /usr/bin/code,这是一个 bash 脚本。这是我超越我的深度的地方。
脚本内容
/usr/bin$ cat code
#!/usr/bin/env bash
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# If root, ensure that --user-data-dir or --file-write is specified
if [ "$(id -u)" = "0" ]; then
for i in $@ …Run Code Online (Sandbox Code Playgroud)