google / google/google-java-format

Provide an option to disable import ordering or customize order

オープン
#986 コメント 3 件 リアクション 2 件 担当者 0 名 GitHub で見る
IntelliJ
主要言語
Java
スター
6.2k
フォーク
937
平均マージ
6分
マージ済み PR(30日)
3

説明

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!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。