To easily read a query as you’re used to in your IDE, in the query profile click on the formatting button to adjust the indentation and spacing automatically.

Don’t forget to click “Save Changes” after applying the formatting.