pastila
pastila copied to clipboard
Query Formatting Option
It would be great to have a Format Query option to automatically format pasted SQL queries for better readability.
For example, when I paste a query like:
select avg(price),
toStartOfMonth(date) as month_
from uk_price_paid
WHERE toYear(date) > 2004 AND toYear(date) < 2011
GROUP BY month_;
it should automatically format into a more readable structure with proper indentation to something like this
select
avg(price),
toStartOfMonth(date) as month_
from
uk_price_paid
WHERE
toYear(date) > 2004
AND toYear(date) < 2011
GROUP BY
month_;