Not many formatters offer a way to specify subtle things like:
Multi-line statements formatting preference
Indent depth for embedded or nested statements
Capitalization preference for keywords
As you can see from the Hacker News conversations, developers are frustrated with the lack of flexibility with the formatters and by the lack of support from the Postgres team for any official parser. Microsoft is in the unique position to solve this developer problem by working with the Postgres team to produce the defacto formatter for Postgres. Perhaps, it could even work with MSSQL Server and MySQL/MariaDB.
The postgress DDL language formatters that are widely used are all self proclaimed "oppinionated" formatters:
Not many formatters offer a way to specify subtle things like:
As you can see from the Hacker News conversations, developers are frustrated with the lack of flexibility with the formatters and by the lack of support from the Postgres team for any official parser. Microsoft is in the unique position to solve this developer problem by working with the Postgres team to produce the defacto formatter for Postgres. Perhaps, it could even work with MSSQL Server and MySQL/MariaDB.
Thank you for accepting my feature request.