Disabling Ctrl+w from closing Visual Studio Code window
To disable ctrl+w from closing the Visual Studio Code add the following to the keyboard shortcuts file:
The keyboard shortcuts file is accessible through File > Preferences > Keyboard Shortcuts.