Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Quick Click ScriptNew to Visual Studio Code? Get it now.
Quick Click Script

Quick Click Script

Tomjid

|
1 install
| (0) | Free
A simple extension to run npm scripts with a click.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Click Script

A lightweight, intelligent VS Code extension that adds clickable ▶ Run {scriptName} buttons directly above your package.json scripts.

Perfect for JavaScript and TypeScript developers navigating between frontend and backend / monorepo workspaces. No more typing out long terminal commands or opening separate terminal panels—just click and code.

Features

  • Broad Ecosystem Support: Built natively for JS and TS projects.
  • Instant Execution: Adds a CodeLens "▶ Run" button above every script in your package.json.
  • Smart Package Manager Detection: Automatically scans your project workspace for lockfiles and runs the script using the correct tool.
    • Detects pnpm
    • Detects bun
    • Detects yarn
    • Defaults to npm
  • Zero Configuration: It just works out of the box.

How to Use

  1. Open any JS/TS project containing a package.json file (like Next.js, Express, etc.).
  2. Open the package.json file.
  3. Click the ▶ Run {scriptName} button hovering above any script (e.g., dev, build, start).
  4. A VS Code terminal will automatically open and execute the command using your project's preferred package manager.

Roadmap (Coming Soon)

I am actively working on expanding Click Script beyond the JavaScript/TypeScript ecosystem! Upcoming updates will include native support for:

  • Python (via pyproject.toml, Makefile, or inline if __name__ == "__main__":)
  • Go (via Taskfile, Makefile, or inline func main())
  • Rust (Cargo support)

Feedback & Contribute

Found a bug or have a language you want supported? Open an issue on GitHub or submit a pull request!

Requirements

  • Visual Studio Code v1.80.0 or higher
  • A workspace with a valid project containing a package.json file.

Release Notes

1.0.0

  • Official 1.0 Launch!
  • Full support for JavaScript and TypeScript environments.
  • Added CodeLens provider for package.json.
  • Implemented smart lockfile detection for pnpm, bun, yarn, and npm.

Created by Tomjid Huda

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft