google / google/google-java-format

Provide an option to disable import ordering or customize order

Aperta
#986 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub
IntelliJ
Lingua principale
Java
Stelle
6.2k
Fork
937
Merge medio
6m
PR unite (30g)
3

Descrizione

I'm working on a project ([Apache Flink](https://github.com/apache/flink)) using AOSP format but with [customized import ordering](https://github.com/apache/flink/blob/e0240c782073f879a1a1e3fe22b45a38ee499c45/pom.xml#L2123-L2126). I manually set the order in `Preferences | Editor | Code Style | Java | Imports | Import Layout`, but `google-java-plugin` will override my settings when I use "Optimize Imports".

Is it possible to provide an option to disable the feature, or let users to customize the import order? Thanks!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.