Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>OI Runner++New to Visual Studio Code? Get it now.
OI Runner++

OI Runner++

Typed SIGTERM

|
478 installs
| (1) | Free
VS Code extension designed for OIer and ACMer, for running single-file programs.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OI Runner++

English|简体中文

VS Code extension designed for OIers and ACMers, for running single-file programs.

Quick Start

The Story Behind OI Runner++

Running single C++ files in VS Code isn't straightforward, and I've suffered from this. Online tutorials often require configuring lengthy, complex, and arcane .vscode/launch.json and .vscode/tasks.json files, which is pure torture.

Compared to that, the Code Runner extension offers a better experience, but it's not suitable for the specific scenario of OI (competitive programming):

  • It leaves messy history in the Terminal.
  • It doesn't show execution time or exit code.
  • You have to manually input test cases every time.

Later, I discovered OI Runner. It's tailor-made for the OI scenario, and I personally think its experience is nearly perfect. However, after using it for a while, some issues became apparent:

  • Execution time and exit code are mixed with the output.
  • There's no status indication for compiling/running.
  • The stop button doesn't work.
  • The working directory for compilation/execution is the source file's directory, not the workspace directory.

I submitted a PR, but the maintainer seems to have abandoned OI Runner and didn't respond.

On 2024/6/21, I decided to develop OI Runner++, completely rewriting it based on OI Runner and releasing it. Therefore, OI Runner++ retains OI Runner's concise UI design but improves upon many features.

Install the extension from one of:

  • VS Code Marketplace
  • Open VSX

For a quick start guide:

  1. Open the Command Palette (Ctrl + Shift + P)
  2. Enter & select Welcome: Open Walkthrough...
  3. Enter & select Get Started with OI Runner++

Configuration

All configuration descriptions can be accessed via the VS Code settings UI (Ctrl + ,) by searching for @ext:typed-sigterm.oi-runner-2.

Credits

This project is deeply inspired by OI Runner. Thanks to @CmdBlockZQG and other contributors of OI Runner.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft