Suggestion: use JSQLFormatter for SQL beautification
- Langage dominant
- Java
- Étoiles
- 5.6k
- Forks
- 559
- Merge moyen
- 1 j 14 h
- PR mergées (30 j)
- 43
Description
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!
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
L’issue ne nomme aucun fichier du dépôt ni aucun test. Commencez par examiner comment Spotless documente ou intègre actuellement DBeaver et Prettier pour le formatage SQL, puis évaluez la prise en charge uniquement en Java de JSQLFormatter pour les dialectes SQL listés. La tâche serait terminée lorsqu’un périmètre d’intégration convenu et une décision des maintainers seraient établis.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, sql
- Domaine
- tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100