You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SQL formatter is a big part of the SQL editing experience, so we need to make it a lot better. This is the type of rough-edge that puts people off from using the app.
The SQL formatter is a big part of the SQL editing experience, so we need to make it a lot better. This is the type of rough-edge that puts people off from using the app.
This is an issue of several parts:
Fix existing issues
Add a more sensible default
The default formatting should probably be more compact, and likely follow the
prettifier
package on how that formats SQLAdd new options
Right now we only support one option
Format Query
, we should provide a bunch of 'styles' that users can use to indent their code.Styles:
This can be based on indent styles provided by the library:
https://github.com/sql-formatter-org/sql-formatter#configuration-options
But whoever implements this should be sure that they think sensible indentation styles to their liking are covered by this functionality.
Feedback on specific formatting options
The text was updated successfully, but these errors were encountered: