maven IDE hook for `jj fix`
- Lingua principale
- Java
- Stelle
- 5.6k
- Fork
- 559
- Merge medio
- 1g 14h
- PR unite (30g)
- 43
Descrizione
Hi,
I am trying to setup jujutsu so that it runs spotless (configured using the maven plugin in my repository) when using `jj fix`, see https://jj-vcs.github.io/jj/latest/cli-reference/#jj-fix.
The problem is that the requirement from jujutsu is that the tool that does formatting should respect the following rule:
> The external tools must accept the current file content on standard input, and return the updated file content on standard output. A tool's output will not be used unless it exits with a successful exit code. Output on standard error will be passed through to the terminal.
Would that be something that could be added to spotless?
Thanks!
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando l'integrazione del plugin Maven di Spotless e il percorso di esecuzione del formatter, quindi confrontali con il contratto stdin/stdout di `jj fix` nella documentazione CLI collegata. Il lavoro è completato quando l'integrazione basata su Maven può consumare il contenuto corrente del file dallo standard input, emettere il contenuto formattato sullo standard output e gestire il comportamento dell'uscita e dello standard error come descritto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- build-system, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100