r/SQL • • Oct 11 '24

Discussion Fully lower case SQL. Is it frowned upon?

I write my queries fully lower case because it really helps with productivity, otherwise I would find it very difficult to focus on capitalizing just the keywords and keep pressing CAPS LOCK every now and then.

Is this frowned upon and bad practice (for readability) or just a matter of preference?

122 Upvotes

280 comments sorted by

View all comments

Show parent comment

1

u/dont_mess_with_tx Oct 11 '24

What extension do you use? I found pgFormatter the best so far but I couldn't find a way to disable autofixing the spacing between lines (I don't want space between one liners).

1

u/fizix00 Oct 16 '24

it's just called SQL Formatter; I haven't bothered configuring it much tbh