Format SQL files using the sql-formatter-plus npm package.
sql-formatter.dialect
: Changes which dialect to format with (sql
: Standard SQL, n1ql
: Couchbase N1QL, db2
: IBM DB2, pl/sql
: Oracle PL/SQL). Defaults to sql
.
sql-formatter.uppercase
: Convert keywords to uppercase. Defaults to false.
sql-formatter.linesBetweenQueries
: Number of linebreaks between queries. Defaults to 2.