'How to restart VScode after editing extension's config?
VScode notifies you when you open a config of an extension:
remember to Restart VScode
But it says nothing about how. They use capital letter for the restart word, so normally it should mean something if you emphasize an appellation. Is there some hidden restart button or a key shortcut?
How do I restart the IDE?
Solution 1:[1]
Execute the workbench.action.reloadWindow command.
There are some ways to do so:
Open the command palette (Ctrl + Shift + P) and execute the command:
>Reload WindowDefine a keybinding for the command (for example CTRL+F5) in
keybindings.json:[ { "key": "ctrl+f5", "command": "workbench.action.reloadWindow", "when": "editorTextFocus" } ]
Solution 2:[2]
Open the Command Palette
Ctrl + Shift + P
Then type:
Reload Window
Solution 3:[3]
You can do the following
- Click on extensions
- Type
Reload - Then install
It will add a reload button on your right hand at the bottom of the vs code.
Solution 4:[4]
You can use this VSCode Extension called Reload
Solution 5:[5]
Use Ctrl + Shift + P in Windows OR Hit F1 to Open Command Palette then type Reload Window
Solution 6:[6]
Method1
VIEW->COMMAND PALETTE->RELOAD WINDOW
Method2
cntrl+Shift+p Then Type: Reload window (Method1 same but using shortcut)
Method3
cntrl+R
NB:if Method3 did'nt work try this approach https://stackoverflow.com/a/71046140/7706354
Solution 7:[7]
How to bind Ctrl+Alt+R to Restart
File > Preferences > Keyboard Shortcuts -or-
Ctrl+K,Ctrl+S
(Code > Preferences > Keyboard Shortcuts -or-
?K,?S on macOS).
This opens the default Keyboard Shortcuts window :
Click on the icon in the upper right corner with tooltip
Open Keyboard Shortcuts (JSON) that looks like:
This opens your keybindings.json on a per-user level. Paste or type :
{"key": "ctrl+alt+r", "command": "workbench.action.reloadWindow"},
(Make sure your keybindings are surrounded with square brackets, [].)
Why Ctrl+Alt+R and not Ctrl+R ?
There are two reasons I bind Restart VS Code to Ctrl+Alt+R.
- Ctrl+R already has two other bindings:
File: Open Recent... and
quickOpenNavigateNextInRecentFilesPicker. - It's a blink to the Microsoft legacy of Ctrl+Alt+Del.
If you need more help, try:
https://code.visualstudio.com/docs/getstarted/keybindings#_keyboard-layouts
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | a1300 |
| Solution 2 | KyleMit |
| Solution 3 | KyleMit |
| Solution 4 | KyleMit |
| Solution 5 | |
| Solution 6 | |
| Solution 7 | Henke |






