-
Notifications
You must be signed in to change notification settings - Fork 443
Closed
Labels
Description
Currently we have a single option keywordCase which specifies the case for both keywords and function names.
It would be nice to allow more fine-grained control by having a separate option functionCase to control whether function names should be uppercased or lowercased. It's quite common practice when writing SQL to have different case-convention for the keywords and function names. Most commonly uppercasing keywords and lowercasing function names, like:
SELECT
round(price * abs(tax)) AS final_price
FROM
inventory;This feature is also widespread in many other SQL formatting tools:
- SQLFormat has options for keyword and identifier case
- Instant SQL Formatter has 9 options for various language elements.
- Freeformatter.com has options for keyword and identifier case
- SQL Complete has options for separate casing of alias, function, data-type, identifier, keyword, variable.
slyapustin