VSCode enables the following options for files.autoSave:
- onFocusChange
- onWindowsChange
Each having the following description:
- A dirty editor is automatically saved when the editor loses focus.
- A dirty editor is automatically saved when the window loses focus.
What is the difference between the two? When does the editor lose focus and when does the window do that?