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

Script

zjffun

|
11,715 installs
| (0) | Free
Create scripts with VS Code extension capabilities.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

You may be looking for a tool to create scripts with VS Code extension capabilities, Power Tools is a better choice.

Script

Create scripts with VS Code extension capabilities.

Install via CLI

code --install-extension zjffun.scripts

Usage

Create a script

export default ({ vscodeExtra }) => {
  const { replaceSelections } = vscodeExtra;
  replaceSelections((text) => {
    return JSON.stringify(text.split("\n"), null, 2);
  });
};

Config keyboard shortcuts

{
  "key": "cmd+5 l",
  "command": "script.run",
  "args": {
    "script": "[script path]"
  }
}

Run script

Release Notes

[TODO]

[Unreleased]

v0.0.1

  • Added features run scripts.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft