google / google/google-java-format

Provide an option to disable import ordering or customize order

未关闭
#986 3 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
IntelliJ
主要语言
Java
星标
6.2k
派生
937
平均合并
6 分钟
30 天内合并 PR
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 摘要。