A powerful VS Code extension that allows you to run C, C++, and Python code directly within VS Code without switching between applications or using online compilers.
Features ✨
Multi-language Support: Run C, C++, and Python code seamlessly
Real-time Output: View program output directly in VS Code
Interactive Input: Support for program input during execution
Clean Interface: Modern and intuitive user interface
File Management: Automatic file handling and cleanup
Cross-platform: Works on Windows, Linux, and macOS
Prerequisites 🛠️
Ensure you have the following installed:
Visual Studio Code
For C/C++: GCC/G++ compiler
For Python: Python interpreter
Required extensions dependencies will be automatically installed
Installation 📥
Open VS Code
Go to Extensions (Ctrl+Shift+X)
Search for "Code Runner"
Click Install
Usage 💻
Open your code file in VS Code
Click the "Code Runner" icon in the activity bar
Enter your file name (e.g., main.cpp, main.c, or main.py)
Select your programming language
Click "Run" to execute your code
View output in the integrated terminal
Supported File Types
.cpp (C++ files)
.c (C files)
.py (Python files)
Features in Detail 🔍
Interactive Console
Real-time input/output handling
Support for interactive programs
Clear output formatting
Error Handling
Compilation error detection
Runtime error reporting
Clear error messages
File Management
Automatic temporary file creation
Clean workspace management
Automatic cleanup after execution
Contributing 🤝
Contributions are welcome! Feel free to:
Fork the repository
Create your feature branch
Commit your changes
Push to the branch
Open a Pull Request
License 📄
This project is licensed under the MIT License - see the LICENSE file for details