sql-formatter-org / sql-formatter

A whitespace formatter for different query languages
https://sql-formatter-org.github.io/sql-formatter/
MIT License
2.32k stars 398 forks source link

Plugin for IntelliJ #749

Open Pe-te opened 3 months ago

Pe-te commented 3 months ago

Describe the Feature Would be great to have the same plugin for IntelliJ that we have for VSCode.

Why do you want this feature? Our developers use either VSCode oder IntelliJ. The plugin is currently only available in VSCode. The default SQL code formatter in IntelliJ generates completely different indents and linebreaks, leading to extra mental overhead when reviewing pull requests.

nene commented 3 months ago

Thanks for the suggestion, but such a plugin is extremely unlikely to be implemented by me as I've never used IntelliJ.

There do exist plugins Vim and Prettier which aren't maintained by me (linked from README).

Feel free to implement one for IntelliJ.