无法使用C ++在vscode中获取输入

时间:2020-07-18 08:15:03

标签: c++ input settings vscode-settings

我想要的只是用vscode在C ++中从用户那里获取输入,但是终端没有显示..在设置中有一个称为“在终端中运行”的部分,但是我无法勾选该复选框,只是因为它说:“无法写入用户设置。请打开用户设置以更正其中的错误/警告,然后重试。”当我打开用户设置时,有2个错误..恩..我已经尝试了所有方法,但无法弄清楚..一些帮助会很棒。

{
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "python.jediEnabled": false,
    "git.ignoreMissingGitWarning": true,
    "java.semanticHighlighting.enabled": true,
    "files.exclude": {
        "**/.classpath": true,
        "**/.project": true,
        "**/.settings": true,
        "**/.factorypath": true
    },
    "java.home": "C:\\Program Files\\AdoptOpenJDK\\jdk-14.0.0.36-hotspot",
    "java.help.firstView": "gettingStarted",
    "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
    "kite.showWelcomeNotificationOnStartup": false
    {
        "version": "0.2.0",
        "configurations": [
            {
                "type": "lldb",
                "request": "launch",
                "name": "Debug",
                "program": "${workspaceRoot}/dist/Debug/CLang-MacOSX/cppapplication_1",
                "args": [
                    "a"
                ],
                "cwd": "${workspaceRoot}",
                "terminal": "integrated"
            }
        ]
    }
}

**Expected comma jsonc(514) [17,5]
**End of file expected.jsonc [33,1]

0 个答案:

没有答案