eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

The organize imports cleanup has a broken preview

Open
#75 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
59
Forks
127
Avg merge
22h 47m
Merged PRs (30d)
28

Description

It looks like the organize imports cleanup is based on very old code that is in parts in jdt.ui and jdt.core. It does not follow the patterns other cleanups are aligned to and beside the broken preview has more issues. In some situations (classpath issue in project) it exchanges your imports with unrelated imports. Maybe the reason is that it uses in some structures just the plain class name that is not unique in all cases (Think of "Path" that is used for classes in eclipse and in java itself).
![grafik](https://user-images.githubusercontent.com/3164220/171276864-12f0656f-d333-463f-b1d4-06358773bff4.png)
I'm talking about the upper part of the window where other cleanups show a tree for each code location found.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.