title: How to get PyCharm to format a JSON file
body: <p>When I create a <code>.json</code> file in PyCharm and put in some JSON, I'm expecting it to format it as per the format shown under <code>File</code> <code>&gt;</code> <code>Settings</code> <code>&gt;</code> <code>Editor</code> <code>&gt;</code> <code>Code Style</code> <code>&gt;</code> <code>JSON</code>.</p>
  <p>But instead, my code stays as it is - e.g. more than one JSON key value pair on the same line, like this:</p>
  <pre class="lang-json prettyprint-override"><code>{&quot;just a test&quot;: &quot;does this work&quot;,&quot;this should format&quot;: &quot;but it doesn't&quot;}
  </code></pre>
  <p>How can I make it so that when I open a <code>.json</code> file with PyCharm, it's nicely formatted?</p>
  <p>I have checked that <code>.json</code> files are associated in the editor -&gt; file types dialogue, and the editor tab correctly has the JSON icon, so PyCharm knows it's a JSON file.</p>
  <p>Is there a key combination I have to hit to get it to format prettily or something?</p>