Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>CP RunnerNew to Visual Studio Code? Get it now.
CP Runner

CP Runner

Shawal

|
93 installs
| (2) | Free
A blazing-fast Competitive Programming test case runner for VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CP Runner

A VS Code extension that runs competitive programming test cases directly in your editor.

Features

  • Parses problems from Competitive Companion (Codeforces, AtCoder, etc.)
  • Supports C++, C, Java, and Python
  • Run all tests at once or a single test case individually
  • Live output streaming with pass/fail/TLE/MLE/RTE/compile error statuses
  • Auto-import a code template when a new problem file is created
  • Configurable diff options (trailing whitespace, line endings, float tolerance)

Usage

  1. Open a .cpp, .c, .java, or .py file
  2. Add test cases manually or parse from Competitive Companion
  3. Press Ctrl+Alt+R to run all tests, or click play on a single test card
  4. Press Ctrl+Alt+S to stop execution

Requirements

Install only what you need:

  • C++: g++ in PATH
  • C: gcc in PATH
  • Java: javac and java in PATH
  • Python: python3 in PATH

License

MIT

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