title: How do I auto format Ruby or .erb files in VS Code?
body: <p>I press <kbd>⌥</kbd> + <kbd>⇧</kbd> + <kbd>F</kbd> in Visual Studio Code for macOS, the shortcut to <a href="https://code.visualstudio.com/docs/customization/keybindings" rel="noreferrer">Format Document</a>, to format a file called <code>foo.rb</code> or <code>foo.html.erb</code>.</p>
  
  <p>Instead of formatting the document it prints out this letter: <code>Ï</code></p>
  
  <p>How do I get it to format the document?</p>