Skip to content
| Marketplace
Sign in
Visual Studio Code>Education>Cobee PlaygroundNew to Visual Studio Code? Get it now.
Cobee Playground

Cobee Playground

Wikan Adnyana

|
4 installs
| (0) | Free
Preview + console panel for your JavaScript and HTML files. Press Run to see live output.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JS Playground for VS Code

An interactive JavaScript learning environment — a mini editor + live preview + console, built as a VS Code extension for teaching basic JavaScript to students.

Features

  • 🖊️ Code editor with line numbers, Tab-to-indent, monospace font
  • ▶️ Live preview in a sandboxed iframe
  • 🖥️ DevTools-style console capturing console.log, console.warn, console.error, console.info and runtime errors
  • 🎨 Adapts to your VS Code theme — uses VS Code's own color variables
  • 💾 State persistence — your code survives panel close/reopen
  • ↔️ Resizable panels — drag the divider between editor and preview

Usage

  1. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  2. Type JS Playground: Open and press Enter
  3. Or press Ctrl+Shift+J (Cmd+Shift+J on macOS)

The playground opens as a panel beside your current editor.

Keyboard Shortcuts

Shortcut Action
Ctrl+Shift+J Open JS Playground
Ctrl+Enter Run code
Tab Insert 2 spaces

Development

cd js-playground-vscode
npm install
npm run compile    # or: npx tsc -p ./

Then press F5 in VS Code to launch the Extension Development Host.

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