How to restart VScode after editing extension's config?

Green picture Green · Feb 2, 2017 · Viewed 110.7k times · Source

VScode notifies you when you open a config of an extension:

remember to Restart VScode

enter image description here

But it says nothing about how. They use capital letter for 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?

Answer

Wosi picture Wosi · Feb 2, 2017

Execute the workbench.action.reloadWindow command.

There are some ways to do so:

  1. Open the command palette (Ctrl + Shift + P) and execute the command:

    >Reload Window    
    
  2. Define a keybinding for the command (for example CTRL+F5) in keybindings.json:

    [
      {
        "key": "ctrl+f5",
        "command": "workbench.action.reloadWindow",
        "when": "editorTextFocus"
      }
    ]