title: vscode format not formatting
body: <p>I installed <a href="https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode" rel="nofollow noreferrer">prettier plugin for vscode</a> and have a .pretteirrc.js:</p>
  
  <pre><code>module.exports = {
    trailingComma: 'es5',
    tabWidth: 2,
    semi: true,
    singleQuote: true,
    printWidth: 60,
  }
  </code></pre>
  
  <p>In settings the default formatter is set to: esbenp.prettier-vscode and format on save is checked but nothing is formatted on save and no indication is given that something is wrong.</p>
  
  <p>Right clicking on a js file with the following content:</p>
  
  <pre><code>var test = [1, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 6]
  </code></pre>
  
  <p>And choosing format document doesn't format it, neither does Format document with... => Prettier code formatter neither does chosing typescript and javascript language features.</p>
  
  <p>Strange is that format with has typescript and javascript language features as default even though settings do not have that as default formatter.</p>
  
  <p>I can see the prettier plugin in extensions and it is enabled.</p>
  
  <p>vscode is version 1.41.0</p>
  
  <p>Rebooted a couple of times and reloaded vscode window. Will try remove and re install vscode as auto formatting on save is a feature I can't do without.</p>
  
  <p>Any suggestions what to check are welcome, the code does not have a syntax error (see example code above) so that should not stop vscode from formatting and not give any indication that something is wrong.</p>
  
  <p>Removed .vscode directory from project directory and now default formatter is prettier but still nothing is formatted.</p>