CPBuddy VS Code Extension
Quickly compile, run and judge competitive programming problems in VSCode.
Automatically download testcases, or write & test your own problems.
This is the next generation of the
Competitive Programming Helper.
Screenshots
Installation
VS Code Extension
Or install via command line:
code --install-extension AyushJha.cpbuddy
Browser Extensions (Required for Submission)
CPBuddy Submit lets you submit solutions directly from VS Code to online judges.
| Chrome |
Firefox |
 |
 |
Competitive Companion (Required for Problem Parsing)
Install the Competitive Companion browser extension to parse problems from any online judge with one click.
Quick Start
- Install the VS Code extension, browser extension, and Competitive Companion
- Open a problem on Codeforces / AtCoder / Kattis
- Click the Competitive Companion icon in your browser
- The problem opens in VS Code with test cases loaded
- Write your solution and click ▶️ Run All
- Click 📤 Submit when ready
Features
- Automatic compilation with display for compilation errors
- Intelligent judge with support for signals, timeouts and runtime errors
- Works with Competitive Companion
- Works locally for your own problems
- Stress testing (brute force vs optimized comparison)
- Diff viewer (side-by-side expected vs received)
- Test case import / export (JSON, text, clipboard)
- Code templates with custom snippets per language
- Real-time sync via WebSocket
- Submission tracking with live verdict monitoring
- Dark / light theme support
- Support for several languages
Comparison with CPH
| Feature |
CPH |
CPBuddy |
| Automatic Compilation |
✅ |
✅ |
| Intelligent Judge |
✅ |
✅ |
| Competitive Companion |
✅ |
✅ |
| Local Problem Support |
✅ |
✅ |
| Language Support |
C/C++ and 8 others |
12 languages |
| Auto-submit Integration |
Codeforces and Kattis |
7+ platforms |
| Load Local Testcases |
❌ |
✅ |
| Supported Result |
Only 3 |
AC and 10 others |
| Store Result and Time |
❌ |
✅ |
| Cache compiled program |
❌ |
✅ |
| SPJ and interactive |
❌ |
✅ |
| Stress Test |
❌ |
✅ |
License
This project is licensed under the GNU Affero General Public License v3.0.
Known Issues
See GitHub Issues.
Change Log
See CHANGELOG.md.
| |