 <p>Go to <code>Plugins -&gt; Source Code Formatter -&gt; Format Current Source</code> or just press <code>Ctrl + I</code>.</p> <p>If you want to set up your formatting preferences, choose <code>Plugins -&gt; Source Code Formatter -&gt; Options...</code></p>