---
slug: "vscode-side-launcher"
title: "VSCode Side Launcher"
description: "A VSCode extension that adds a command launcher to the sidebar. Turn your frequently used commands into buttons and run them with a single click."
url: "https://www.ytyng.com/en/bio/vscode-side-launcher"
achieved_at: "2025-07-26"
updated: "2026-02-15T05:21:49.423Z"
category: "アプリケーション"
image_url: "https://media.ytyng.com/20260130/de9cbedabf1549e88b3ad9f94f085c10.png"
lang: "en"
---

# VSCode Side Launcher

# VSCode Side Launcher

A VSCode extension that adds a command launcher to the sidebar.

## Features

- **Sidebar Launcher**: Display command execution buttons in the VSCode sidebar
- **Flexible Configuration**: Define commands via VSCode settings.json or an external JSON file
- **Two Execution Modes**: Choose between child_process execution (results shown in sidebar) or VSCode terminal execution
- **Environment Variables**: Access workspace and file info using `$WORKSPACE_ROOT`, `$CURRENT_FILE_RELATIVE_PATH`, etc.
- **Real-time Output**: View command results in real time
- **Error Debugging**: Identify error causes with stack trace display

## Usage

Simply define tasks in your VSCode `settings.json`:

```json
{
  "sideLauncher.tasks": [
    {
      "label": "Run Tests",
      "command": "cd $WORKSPACE_ROOT && npm test"
    },
    {
      "label": "Git Add Current File",
      "type": "shellOnVSCode",
      "command": "git add $CURRENT_FILE_RELATIVE_PATH"
    }
  ]
}
```

You can also define global tasks in `~/.config/vscode-side-launcher/tasks.json`.

## Repository

[GitHub Repository](https://github.com/ytyng/vscode-side-launcher)
