Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>终端运行New to Visual Studio Code? Get it now.
终端运行

终端运行

xingshuyin

|
22 installs
| (0) | Free
快捷运行常用命令
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

run commands in terminal

alt text

快速执行命令

.vscode/commands.json

{
  "commands": [
    {
      "id": "1",
      "name": "run",
      "command": "uv run main.py",
      "workingDirectory": "${workspaceFolder}/back",
      "description": "uv run"
    },
    {
      "id": "2",
      "name": "dev",
      "command": "pnpm run dev",
      "workingDirectory": "${workspaceFolder}/web",
      "description": "pnpm run dev"
    },
    {
      "id": "2",
      "name": "ls",
      "command": "ls",
      "workingDirectory": "${workspaceFolder}",
      "description": "ls"
    }
  ]
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft