I Built a VS Code Extension That Runs Code in 40+ Languages published: true

typescript dev.to

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.

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…

Source: dev.to

arrow_back Back to Tutorials