Scripts & Other
Table of Contents
| Tool | File Patterns | Notes |
|---|---|---|
| Shell Scripts | **/*.{sh,bash,zsh,fish,ps1,bat,cmd} | Executable scripts |
| Extensionless Shell Scripts | (no extension) | Shebang + executable bit required; opt-in only |
| Jupyter Notebook | **/*.ipynb | Notebook cells (discovery works without extension; execution requires Jupyter Extension) |
| Visual Studio Code Tasks | **/.vscode/tasks.json, user-level tasks.json | Native VS Code tasks |
| Workspace Tasks | .workspace-tasks.json | Custom task templates |
Jupyter Notebook Details
- Discovery: Notebook tasks are discovered from
*.ipynbfiles even if the Jupyter extension is not currently available - Requirements for execution: The Jupyter Extension must be installed and a Jupyter Server must be configured
- Notebooks appear as parent tasks with individual code cells as child tasks
- Click a task to open the notebook in VS Codeβs notebook editor
- Execute individual cells or entire notebooks
- Real-time cell execution status via the Jupyter Extension UI
- Inline CodeLens actions are not supported for
.ipynbnotebook documents- Notebook editor title action buttons from this extension are not supported for
.ipynbfiles
Guided Argument Input for Scripts
Python (.py), PowerShell (.ps1), and Node.js (.js/.mjs/.cjs) scripts support guided argument input β instead of typing a raw argument string, the extension parses the scriptβs parameter declarations and presents each parameter as an individual prompt (input box, QuickPick for choices, Yes/No for flags, etc.).
Enable it in your settings.json:
"workspaceTasks.task.guidedArgInput": true
See the per-language pages for full details:
- π Python Scripts β Guided Argument Input β
argparsesupport, allactionandnargstypes - π PowerShell Scripts β Guided Argument Input β
param()block,[ValidateSet],[switch],[Mandatory] - π’ Node.js Scripts β Guided Argument Input β
argparseandparseArgs(node:util,@pkgjs/parseargspolyfill)
Next Steps
- π Python Scripts β Guided Argument Input
- π PowerShell Scripts β Guided Argument Input
- π’ Node.js Scripts β Guided Argument Input
- Package Managers & Build Tools β npm, Yarn, pnpm, Bun, Composer, and more
- Task Runners β Gulp, Grunt, Cargo, Just, Make, mise
- DevOps & Containers β Docker, Docker Compose, GitHub Actions
- Custom Workspace Tasks β Define your own reusable task templates
- Configuration Reference β Full settings reference including task type toggles
- Enabling / Disabling Task Types β Control which task types are active