Shell Commands
从 VSCode 侧边栏保存并快速复用常用的 Shell 命令。
功能特点
- 保存命令 — 存储带自定义参数的 Shell 命令
- 快速访问 — 从活动栏侧边栏访问
- 自定义参数 — 为任意命令添加
--flag value 风格的参数
- 一键粘贴 — 点击命令即可将其粘贴到活动终端(不会自动执行)
- 编辑与删除 — 对命令和参数进行行内编辑和删除
使用方法
- 在活动栏中点击 Shell Commands 图标(终端图标)
- 点击 + 添加新命令
- 右键点击 命令 → 添加参数 以附加 CLI 标志
- 点击 命令将其发送到终端
- 使用行内图标编辑(✏️)或删除(🗑)项目
Shell Commands
Save and quickly reuse frequently-used shell commands from the VSCode sidebar.
Features
- Save commands — Store shell commands with custom parameters
- Quick access — Access from the Activity Bar sidebar
- Custom parameters — Add
--flag value style parameters to any command
- One-click paste — Click a command to paste it into the active terminal (does not auto-execute)
- Edit & delete — Inline edit and delete for both commands and parameters
Usage
- Click the Shell Commands icon in the Activity Bar (terminal icon)
- Click + to add a new command
- Right-click a command → Add Parameter to attach CLI flags
- Click a command to send it to the terminal
- Edit (✏️) or delete (🗑) items using the inline icons
| |