title: How to setup vscode settings for Python formatter?
body: <p>Somehow my formatter isn't working. I pip installed yapf , but when I do cntr+shift+p -> Format Document or Shift + Alt + F on a selected code, it doesn't change. I heard it autoformattes on save, but that didn't work either. </p>
  
  <p>I am trying to follow the guide here</p>
  
  <p><a href="https://code.visualstudio.com/docs/python/editing#_formatting" rel="nofollow noreferrer">https://code.visualstudio.com/docs/python/editing#_formatting</a></p>
  
  <p>It mentions I should edit this part in the settings</p>
  
  <blockquote>
    <p>"python.formatting.yapfArgs": ["--style", "{based_on_style: chromium, indent_width: 20}"],</p>
  </blockquote>
  
  <p>But when I search this, this is the only thing I see</p>
  
  <p><a href="https://snipboard.io/9sCB8H.jpg" rel="nofollow noreferrer">https://snipboard.io/9sCB8H.jpg</a></p>
  
  <p>What I am trying to do at the moment is set the indent to 4 spaces, and also adjust the max line length. </p>
  
  <p>This are what my settings look like for formatting </p>
  
  <p><a href="https://snipboard.io/LXklRI.jpg" rel="nofollow noreferrer">https://snipboard.io/LXklRI.jpg</a></p>