Auto format VIEW declarations

Feature requests and their debate

Auto format VIEW declarations

Postby grexe » Thu Feb 07, 2013 4:23 pm

In the View declarations view, SQL is shown in one long line, it would be more readable if the SQL Auto-Formatter would be used here.
Posts: 4
Joined: Thu Feb 07, 2013 4:20 pm

Re: Auto format VIEW declarations

Postby Serge » Tue Feb 12, 2013 2:22 pm

We already do it for MySQL. In Oracle views are stored well-formatted.
Actually some databases keep original views formatting so it's not a good idea to format them automatically (removing all manual formatting made by view author).
So it is not so obvious how to deal with it. Maybe we should format view source only if it contains a single long line or something like this..
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 6 guests