In VS Code, if I accidentally close a tab, how do I reopen it? Like how in most browsers, I can press Cmd+Shift+T to undo closing a tab.
Press Cmd+Shift+T (on Mac) or Ctrl+Shift+T (on Windows/Linux) to re-open the last closed tab. This will trigger the workbench.action.reopenClosedEditor
command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With