how to reload vscode

JavaScript
// Use the workbench.action.reloadWindow command. 
// Go to File -> Preferences -> Keyboard Shotcuts 
// and define a shortcut for this command
// . On my system it's placed on Ctrl+F5.
//The entry in keybindings.json looks like this:
{
  "key": "ctrl+f5",
  "command": "workbench.action.reloadWindow",
  "when": "editorTextFocus"
}

Source

Also in JavaScript: