Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>okayNew to Visual Studio Code? Get it now.
okay

okay

Ramanpreet Nara

|
46 installs
| (0) | Free
Easily write (and run) one-off scripts: cmd+k cmd+k.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Okay

A VSCode extension that makes it really easy to write and run one-off scripts, in any language.

Usage

By default, Okay generates node.js scripts in os.tmpdir():

  • cmd + k cmd + k: open or run the last Okay node.js script.
  • cmd + n cmd + n: create a new Okay node.js script.

Extension Settings

You can modify the following extension settings to make Okay generate and run scripts in any language:

Config Description Default
execCommand The bash command Okay will use to run Okay scripts node {filename}
scriptExtension The file extensions of generated Okay scripts js
scriptDir The directory where Okay scripts are placed os.tmpdir()
scriptTemplate The Okay script template "// Write some node js \n"

Use Cases

Set scriptDir. Place a utils file inside scriptDir. Now, all your Okay scripts can use shared utilities.

Install

VSCode Marketplace: okay

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