title: vscode( vscode-ruby + rubocop ) how to auto correct on save?
body: <h2>Environments</h2>
  
  <ul>
  <li>vscode Version 1.19.1 (1.19.1)</li>
  <li>rubocop (0.52.1)</li>
  <li>Darwin mbp 16.7.0 Darwin Kernel Version 16.7.0: Wed Oct  4 00:17:00 PDT 2017; root:xnu-3789.71.6~1/RELEASE_X86_64 x86_64</li>
  <li>ruby 2.3.5p376 (2017-09-14 revision 59905) [x86_64-darwin16]</li>
  </ul>
  
  <p>followed <a href="https://github.com/rubyide/vscode-ruby#linters" rel="noreferrer">https://github.com/rubyide/vscode-ruby#linters</a> and installed all gems and edited the settings.json like this.</p>
  
  <pre class="lang-js prettyprint-override"><code>{
  
    "ruby.rubocop.executePath": "/Users/ac/.rbenv/shims/",
    "ruby.rubocop.onSave": true,
    "ruby.lint": {
      "ruby": {
        "unicode": true //Runs ruby -wc -Ku
      },
      "reek": true,
      "rubocop": {
        "lint": true,
        "rails": true
      },
      "fasterer": true,
      "debride": {
        "rails": true //Add some rails call conversions.
      },
      "ruby-lint": true
    },
    "ruby.locate": {
      "include": "**/*.rb",
      "exclude": "{**/@(test|spec|tmp|.*),**/@(test|spec|tmp|.*)/**,**/*_spec.rb}"
    }
  
  }
  </code></pre>
  
  <p>On vscode, code highlighting is working fine.<br>
  *just to note, you see the extensions installed, and warnings in the problem tab.</p>
  
  <p><a href="https://i.stack.imgur.com/X3c4r.png" rel="noreferrer"><img src="https://i.stack.imgur.com/X3c4r.png" alt="rubocop is working ok"></a></p>
  
  <h2>Question</h2>
  
  <p>I was under the inpression that <code>vscode-ruby</code> and <code>rubocop</code> would auto-correct indentations and cop rules on <strong>file save</strong>, but apparently it doesn't.<br>
  If I want it to format my code like <code>prettier</code>, how should I set this up?</p>