Skip to content

无法运行 #2

Description

@kierankihn

插件安装后配置过settings.json中的oi-runner.commandsoi-runner.exts,但在cpp文件中oi-runner无法点击,无法选择运行,无法在input中填入输入

settings.json 中与oi-runner有关的部分如下

"oi-runner.exts": {
        "cpp": "C++11 -O2"
    },
    "oi-runner.commands": {
        "C++11 -O2": [
            // g++ test.cpp -otest -std=c++11 -O2 -Wall
            [
                "g++",
                [
                    "[file]",
                    "-o [file-].out",
                    "-std=c++11",
                    "-O2",
                    "-Wall",
                    "-Werror"
                ]
            ],
            // 运行产物 test.exe
            [
                "[file-].out",
                []
            ]
        ]
    }

问题截图

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions