A minimal, fast competitive programming helper for Sublime Text. Inspired by CPH for VS Code.
- 🚀 Fast - Minimal code, maximum speed
- 🔗 Competitive Companion - Parse problems directly from browser
- ✅ Test Cases - Run and compare test cases with clean UI
- 📝 C++ Only - Focused support for competitive programming
-
Copy this folder to your Sublime Text Packages directory:
- macOS:
~/Library/Application Support/Sublime Text/Packages/ - Linux:
~/.config/sublime-text/Packages/ - Windows:
%APPDATA%\Sublime Text\Packages\
- macOS:
-
Install Competitive Companion browser extension
-
Configure the extension to use port
10043(or change in settings)
- Parse Problem: Click the Competitive Companion extension on a problem page
- Open Panel: Press
Cmd+Shift+B(Mac) or use Command Palette: "CP Helper: Open Test Panel" - Run Tests: Click "Run All" or run individual tests
- Edit Tests: Click "Edit" to modify input/expected output
| Shortcut | Action |
|---|---|
Cmd+Shift+B |
Open test panel |
Edit cp-helper.sublime-settings:
{
"companion_port": 10043,
"timeout": 4.0,
"template": "your C++ template here"
}MIT