Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Run Script HereNew to Visual Studio Code? Get it now.
Run Script Here

Run Script Here

Jeff Hughes

|
7 installs
| (0) | Free
Run scripts from the context menu or solution explorer
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Run Script Here VS Code Extension

This extension adds a "Run Script Here" option to the context menu in VS Code, allowing you to quickly run scripts from either the editor or the solution explorer.

Features

  • Right-click on any script file in the editor or solution explorer to run it
  • Automatically opens a new terminal in the script's directory
  • Supports multiple script types:
    • PowerShell (.ps1)
    • Batch files (.bat, .cmd)
    • Python (.py)
    • JavaScript (.js)
    • TypeScript (.ts)
    • Shell scripts (.sh)
  • Keyboard shortcut: Ctrl+Shift+R (Cmd+Shift+R on Mac)

Installation

  1. Clone this repository
  2. Run npm install to install dependencies
  3. Press F5 to start debugging the extension in a new VS Code window

Usage

  1. Right-click on any supported script file in the editor or solution explorer
  2. Select "Run Script Here" from the context menu
  3. The script will run in a new terminal window

Requirements

  • VS Code 1.60.0 or higher
  • Node.js 16.x or higher
  • Required runtime environments for the scripts you want to run (Python, Node.js, etc.)

License

MIT

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