Differences in imports order in IntelliJ and Eclipse.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- Java
- Stars
- 6.2k
- Forks
- 936
- Avg merge
- 6m
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google/google-java-format
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
google/google-java-format#1094 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
google/google-java-format#1450 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
google/google-java-format#1439 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
google/google-java-format#1436 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
google/google-java-format#1428 · 4 comments ·
All issues in google/google-java-format
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
HL7/fhir-ig-publisher#1375 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Flaky: a relaunched catch-up replay can still report catching up right after its marker is written Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
johanhaleby/occurrent#1134 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
objectionary/jeo-maven-plugin#1811 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100