Inception for Maven
- Lingua principale
- Java
- Stelle
- 5.6k
- Fork
- 559
- Merge medio
- 1g 14h
- PR unite (30g)
- 43
Descrizione
Hello,
working on a multitude of Maven projects in a larger, dated codebase. We would like to streamline the formatting with Spotless, but there are embedded SQL strings in the Java code that should be left untouched without having to write the `// spotless:off/on` comments everywhere.
The Gradle plugin has an "Inception" feature: https://github.com/diffplug/spotless/tree/main/plugin-gradle#inception-languages-within-languages-within, which allows special treatment of hunks of code captured by a specified regular expression.
Is this planned to be added to the Maven plugin as well? If so, is there an estimated time of arrival?
Thanks
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
La issue rimanda alla documentazione Inception del Gradle plugin; inizia da lì per comprendere il comportamento esistente, quindi esamina la configurazione e i punti di ingresso dei test del Maven plugin. Definisci come gli utenti Maven identificherebbero le regioni SQL incorporate senza ripetere gli spotless comments. Il lavoro è completo quando il Maven plugin supporta un trattamento configurabile equivalente e sono presenti test di copertura per codice Java contenente stringhe SQL.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, sql
- Ambito
- build-system, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100