VSCode: auto restart extensions
• 71 words • 1 min • updated
⚠️ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.
Whenever I open VSCode, there are some extension updates. Every time, I need to manually click “Extensions” in the left-side navigation bar and then “Restart” so that the upgrades take effect.
This should be automated.
There is a solution: add the following to your settings.json (Cmd + ,)
json
"extensions.autoRestart": trueDocumentation:
// If activated, extensions will automatically restart following an update if the window is not in focus.
Source: https://code.visualstudio.com/docs/getstarted/settings