Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Restart ComputerNew to Visual Studio Code? Get it now.
Restart Computer

Restart Computer

limarkxx

|
92 installs
| (0) | Free
Restart your computer from the comfort of VSCode, and pick up right where you left off.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

restart-computer README

Restart your computer from the comfort of VSCode, and pick up right where you left off.

Execute the command "restart-computer.restartComputer"

This can be called from a task, and a command or task can be specified to run afterwards.

//tasks.json
{
	"version": "2.0.0",
	"tasks": [
        {
            "label": "Restart the Computer",
            "command": "${command:restart-computer.restartComputer}",
            "problemMatcher": []
        },
        {
            "label": "Restart the Computer and then Check Audio Cues",
            "command": "${command:restart-computer.restartComputer:audioCues.help}",
            "problemMatcher": []
        },
        {
            "label": "Restart the Computer and then run Other Task",
            "command": "${command:restart-computer.restartComputer:workbench.action.tasks.runTask:Other Task}",
            "problemMatcher": []
        },
        {
            "label": "Other Task",
            "command": "echo 'do thing'",
            "type": "shell",
            "problemMatcher": []
        }
    ]
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft