How to format pasted JSON in IntelliJ / Android Studio
<p>I often need to use a text editor while writing code to paste random notes but especially JSON responses, where I format them using a plugin (for Sublime). </p>

<p>I recently heard about the 'scratch file' feature in IntelliJ / Android Studio which does exactly what I need it to - except I can't make it format JSON I paste in nicely.</p>

<p>How can I make Android Studio format JSON in a scratch buffer file?</p>