VS Code Extensions
CP Runner

CP Runner

by Shawal

A blazing-fast Competitive Programming test case runner for VS Code.

Downloads

158

Rating

5.0 / 5 (2)

Version

0.1.22

Last updated

Aug 08, 2026

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

Related extensions