diffplug / diffplug/spotless

Suggestion: use JSQLFormatter for SQL beautification

Offen
#1,306 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Java
Sterne
5.6k
Forks
559
Ø Merge
1 T. 13 Std.
Gemergte PRs (30 T.)
34

Beschreibung

Greetings,

I just adopted Spotless to format my Java code via the Eclipse Formatter. Thank you for providing it!
Then I stumbled over the documentation and found out that you use DBeaver and Prettier for SQL formatting.

So I wonder, if [JSQLFormatter](http://manticore-projects.com/JSQLFormatter/index.html) would be a viable alternative.
It is a relatively small, yet powerful Java only library for formatting complex SQL statements (MS SQL Server, Oracle, MariaDB, Postgres).

Please have a look at the [Examples](http://manticore-projects.com/JSQLFormatter/samples.html).
You can also [Test it online and interactively](http://jsqlformatter.manticore-projects.com).

If you find any of that interesting, then please do let me know what was needed to make it happen. I would gladly be of assistance.
Cheers!

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.