GNU ELPA - sql-indent


Support for indenting code in SQL files.
sql-indent-1.6.tar, 2021-Jun-27, 180 KiB
Alex Harsanyi <>
Home page
Browse ELPA's repository
CGit or Gitweb

To install this package, run in Emacs:

M-x package-install RET sql-indent RET

Full description

`sqlind-minor-mode' is a minor mode that enables syntax-based indentation
for `sql-mode' buffers: the TAB key indents the current line based on the
SQL code on previous lines.  To setup syntax-based indentation for every
SQL buffer, add `sqlind-minor-mode' to `sql-mode-hook'.  Indentation rules
are flexible and can be customized to match your personal coding style.
For more information, see the "" file.

The package also defines align rules so that the `align' function works for
SQL statements, see `sqlind-align-rules'.

Old versions

sql-indent-1.5.tar.lz2020-Mar-2144.8 KiB
sql-indent-1.4.tar.lz2019-Jun-2056.0 KiB
sql-indent-1.3.tar.lz2018-Oct-2552.8 KiB
sql-indent-1.2.tar.lz2018-May-0750.2 KiB
sql-indent-1.1.tar.lz2018-Feb-1249.3 KiB
sql-indent-1.0.tar.lz2017-Dec-0146.4 KiB