-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Enable customization of SQL formatting behavior through IntelliJ's settings UI, allowing users to configure style preferences for specific SQL constructs.
Features
-
Indentation and spacing controls
Allow users to define:- Number of spaces per indent
- Whether to align keywords (e.g.,
AND,OR,JOIN) - Space before/after parentheses or commas
-
Line break rules
Let users customize line-break behavior for:SELECTcolumnsVALUESclausesON,WHERE,JOIN,RETURNINGblocks
-
Keyword and function list customization
Users can specify:- Keywords to be treated with special formatting
- Custom SQL functions to recognize for formatting consistency (e.g., user-defined functions)
Integration
Settings will be available via:
Preferences > Editor > Code Style > SQL (Custom Dialect)
These options give developers flexibility to align formatting with project-specific conventions or personal preferences.