Code Runner is an extension for Visual Studio Code that executes the code in the current file or a selected snippet and shows the output in the editor. It is aimed at developers who want to test small scripts in many languages without setting up a separate terminal workflow for each one.
The extension is open source under the MIT license, and its source is published on GitHub. It runs inside VS Code, so it needs that editor installed. The listing is free to install from the Visual Studio Marketplace.
Alternatives to Code Runner
Products that do a similar job in Developer Tools.
pretty-ts-errors
Readable TypeScript error messages inside VS Code
GitLens
Git blame annotations and history views inside VS Code
vscode-debug-visualizer
Visual views of program data while stepping through code in VS Code
vscode-neovim
Neovim-backed Vim keybindings inside Visual Studio Code
navi
Interactive command-line cheatsheet with searchable shell snippets
Vim
Vim keybindings and modal editing inside Visual Studio Code
Windows Terminal
Command-line terminal app and console host for Windows
Puppeteer
Node.js library to control Chrome and Firefox through a JavaScript API