Skip to content

IamNishant51/CODE-RUNNER-vscode-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VS Code Code Runner Extension 🚀

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.

License: MIT TypeScript VS Code

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 📥

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "Code Runner"
  4. Click Install

Usage 💻

  1. Open your code file in VS Code
  2. Click the "Code Runner" icon in the activity bar
  3. Enter your file name (e.g., main.cpp, main.c, or main.py)
  4. Select your programming language
  5. Click "Run" to execute your code
  6. 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:

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Open a Pull Request

License 📄

This project is licensed under the MIT License - see the LICENSE file for details

Author ✍️

Nishant Unavane

Acknowledgments 🙏

  • VS Code Extension API
  • TypeScript team
  • All contributors and users

Made with ❤️ by Nishant Unavane

About

extension for vs code to run c and c++ programms inside vs code without any online compiler or switching tabs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published