Automatic Language Installation:
Prompts you to select a programming language on first run and installs it using your system’s package manager.
Code Execution:
Compiles and runs your code (e.g., C++, Python, Java, Node.js, etc.) using the latest available compilers/interpreters, with output displayed directly in VS Code.
Test Case Caching:
Fetches sample test cases using Puppeteer and caches them in memory for 2 hours to reduce redundant network requests during contests.
File Cleanup:
Automatically cleans up temporary files (input, output, and compiled binaries) after execution to keep your workspace organized.
Commands
CP-Buddy: Run Code:
Compiles and executes the currently active code file.
CP-Buddy: Install Language:
Installs a selected programming language using your system’s package manager.
CP-Buddy: Fetch Test Cases:
Retrieves and caches sample test cases for a problem.
License
This project is licensed under the MIT License. See the LICENSE file for details.