Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differences in imports order in IntelliJ and Eclipse. #1007

Open
vasiv opened this issue Dec 11, 2023 · 2 comments
Open

Differences in imports order in IntelliJ and Eclipse. #1007

vasiv opened this issue Dec 11, 2023 · 2 comments

Comments

@vasiv
Copy link

vasiv commented Dec 11, 2023

Using v1.18.1 plugins for Eclipse and IntelliJ, but there is difference in imports order for both IDEs.
Imports layouts for Eclipse:
eclipse_import_layout
Imports layouts for IntelliJ:
idea_import_layout

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?

@AgNS61
Copy link

AgNS61 commented Jan 15, 2024

Hi, it looks like a duplicate

@yhkee0404
Copy link

yhkee0404 commented Nov 2, 2024

Your guess is correct. The current eclipse plugin has never fixed imports because it has only used SnippetFormatter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants