Home Visual Studio Code - VSCode Closing a File Without Saving any Change invoke workbench.action.revertAndCloseActiveEditor https://github.com/microsoft/vscode/issues/183999 Ctrl-F4 + Tab + Enter https://www.reddit.com/r/vscode/comments/jdg4ij/key_shortcut_for_closing_a_file_without_saving/