google / google/google-java-format
Differences in imports order in IntelliJ and Eclipse.
- 主要语言
- Java
- 星标
- 6.2k
- 派生
- 937
- 平均合并
- 6 分钟
- 30 天内合并 PR
- 3
描述
Using v1.18.1 plugins for Eclipse and IntelliJ, but there is difference in imports order for both IDEs.
Imports layouts for Eclipse:

Imports layouts for IntelliJ:

Imports in IntelliJ:
```
import com.domain.sap.IF.helper.DocumentHelper;
import com.domain.sap.SapUtility;
import com.domain.sap.SyncDocument;
```
Imports in Eclipse:
```
import com.domain.sap.SapUtility;
import com.domain.sap.SyncDocument;
import com.domain.sap.IF.helper.DocumentHelper;
````
For me it looks like IntelliJ uses a Code Formatter also for Imports formatting and Eclipse uses it's own mechanism.
How to make it common?
贡献指南
调研方向
Start by reproducing the differing import order with the Eclipse and IntelliJ plugins described in the issue, using the supplied import examples and v1.18.1 settings. Compare how each IDE integration applies import ordering and identify the relevant plugin entry points. Done means both integrations produce the same ordering for the reported imports.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100