OI Runner++
VS Code extension designed for OIer and ACMer, used to run single file program. Configuration
|
Special String | Replaced With |
---|---|
${file} |
The absolute path of the source file |
${fileNoExt} |
The absolute path of the source file without the extension |
${execExt} |
The extension of the executable file, .exe on Windows, an empty string on other systems |
The working directory is the opened folder.
oi-runner-2.defaultTask
Defines the default task selected in the run panel when a file is opened.
Format:
{
"oi-runner-2.tasks": {
"C++": { /* ... */ },
"Python": { /* ... */ }
},
"oi-runner-2.defaultTask": {
".py": "Python" // Files with the .py extension default to Python
// Others default to the first task defined in oi-runner-2.tasks, which is C++ in this example
}
}
oi-runner-2.addToRunMenu
Whether to add OI Runner++ to the editor title menu.
If disabled, you need to press Ctrl + Shift + P and search for Launch OI Runner++
to open the run panel.
Format: true
(default) or false
.
Credits
This project is deeply inspired by OI Runner. Thanks to @CmdBlockZQG and other contributors of OI Runner.