title: Visual Studio Code files.autoSave onFocusChange not working
body: <p>I'm trying to setup my visual studio code editor to auto save files on focus change.</p>
  
  <p>Reading the setting documentation, I've set up my setting.json file for the project like this:</p>
  
  <pre><code>// Place your settings in this file to overwrite default and user settings.
  {
      "files.exclude": {
          "**/*.js": { "when": "$(basename).ts"},
          "files.autoSave": "onFocusChange"
      }
  }
  </code></pre>
  
  <p>But when I make changes to a file, then switch to a different file nothing happens (I still have to save the file manually).</p>
  
  <p>What am I doing wrong?</p>