I knew workbench.action.reloadWindow
could reload the current VSCode window, how to reload all windows at once, I searched through the keybindings, but didn't find one.
Some use cases:
On macOS, workbench.action.quit
is assigned to cmd+q, use this command to quit the app, then reopening the app will restore all windows.
On Windows, workbench.action.quit
has no assigned shortcut, we need to assign it a shortcut first, use it to quit the app, then reopening the app will restore all windows.