SublimeFormatSQL icon indicating copy to clipboard operation
SublimeFormatSQL copied to clipboard

Convert identifiers to lowercase

Open dserodio opened this issue 13 years ago • 2 comments

(credit: http://thecrumb.com/thecrumb/2012/01/23/sublime-text-2-format-sql/)

dserodio avatar Jul 04 '12 18:07 dserodio

Hi, would you provide an option for this (and off by default) ? there are some case that identifiers are case sensitive in MySQL, see http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html ; and in MS SQL Server, it's also configurable.

du-song avatar Jul 05 '12 02:07 du-song

Ok, I'll take a stab at it. Never developed a Sublime package nor used python-sqlparse, but I'll give it a try.

dserodio avatar Jul 05 '12 17:07 dserodio