Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Basic Language RunnerNew to Visual Studio Code? Get it now.
Basic Language Runner

Basic Language Runner

Aradhy Pathak

|
764 installs
| (1) | Free
Run C, C++, Java, Python, HTML, JavaScript, TypeScript, Ruby, and Go (Golang) files easily with F5 key or Run button.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Basic Language Runner

Features

This is a VS Code extension made to run some basic languages: Java, Python, C, C++, HTML, JavaScript, TypeScript,Go(Golang), Ruby, and R.
Simply press F5 or Run Button and the corresponding file will run based on its language.


Requirements

You must install the proper language runtimes (like GCC, JDK, Python, etc.) and add them to the PATH environment variable.


Install Required Compilers / Runtimes

🔹 C/C++: GCC & G++

  • 🪟 Windows (MinGW-w64 – Recommended):
    👉 https://sourceforge.net/projects/mingw/
    💡 Tip: During installation, select the option: mingw32-gcc-g++andmingw32-gcc-objc

  • 🐧 Linux

sudo apt install build-essential
  • 🍎 macOS
brew install gcc

🔹 Java: JDK (Java Development Kit)

  • Official Oracle JDK: 👉 https://www.oracle.com/java/technologies/javase-downloads.html

🔹 Python

  • Official Python Website:
    👉 https://www.python.org/downloads/

💡 Tip: During installation, make sure to check:
✔️ “Add Python to PATH” — Very important!


🔹 JavaScript: Install Node.js

  • Official Node.js:
    👉 https://nodejs.org/en/download

🔹 TypeScript: Install Typescript

Type - "npm install -g typescript" in the command prompt. 💡 Tip: You need to have Node.js with npm to run this command.


🔹 Golang: Go Compiler

  • Official Go Compiler:
    👉 https://go.dev/dl/

🔹 Ruby: Ruby Runtime

  • Official Ruby Website:
    👉 https://www.ruby-lang.org/en/downloads/

🔹 R: R Runtime

  • Official R Website:
    👉 https://cran.r-project.org/

Extension Settings

(None for now — defaults work well.)


Known Issues

  • May display errors such as “GCC not found” or “JDK not found” etc. if compilers are not installed.
  • Ensure correct installation paths for GCC/G++, JDK, etc..

Important Notes

✔️ This extension requires external runtimes to be installed separately.


Enjoy! 🎉

I will add more languages later.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft