Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JavaScript (SpiderMonkey) Run ButtonNew to Visual Studio Code? Get it now.
JavaScript (SpiderMonkey) Run Button

JavaScript (SpiderMonkey) Run Button

EasierTeaching

|
525 installs
| (0) | Free
Adds a run button to the top right of a .js editor. This is similar to, but more basic, then the python extension's run button. Also added a command palette command: Install and Setup Spidermonkey. This install Homebrew on Macs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

javascript--spidermonkey--run-button README

This is a simple extension that adds a play/run button to the top right of the editor window. When you click the button, the current file is run in the terminal using the js command. This is useful for running JavaScript files in the terminal using the SpiderMonkey JavaScript engine.

Requirements

This extension requires the SpiderMonkey JavaScript engine to be installed on your system and on the path. A command 'Install and Setup Spidermonkey' is provided in the command palette to help you install SpiderMonkey.

github

https://github.com/zachtsch/js-spidermoney-vs-code-extension

Install and Setup Spidermonkey

This command will install SpiderMonkey on your system and add it to your path. It behaves differently depending on your operating system.

Windows

Downloads jsshell-win64.zip from https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/ and unzips it in C:\spidermonkey. Then adds C:\spidermonkey to your path. Finally it removes the .zip file.

Mac

Installs Homebrew, adds brew to your path and then runs brew install spidermonkey. Requires your password. Leaves Homebrew installed.

Linux

Automated installation from this extension is unsupported at this time. Please install SpiderMonkey manually.

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