Community
Participate
Working Groups
I20050928-1300 Rename type junit.framework.Test to A and go through the preview page. The files to be changed are shown in random order. I'd expect them to be sorted in a meaningful way (by name & package, or by package & name). It would be even better if I could switch from the (sorted) flat mode to a tree mode that would show the CUs' parents up to the Java project (or the Resources' parents, if Java model information is not available).
I assume this is a general preview page issue.
Downgrading priority to P3.
Implemenation node: LTK UI which provides the preview page doesn't know anything about the kind of changes (e.g. it doesn't know anything about Java). So if we want to provide such a feature it must be provided via an extension point.
I added sorting by cu name to the changes returned by the TextChangeManager. Before, sorting was random (by hashCode()). This will solve the problem for most java refactorings for now.
Moving to Markus Keller due to ownership changes.
Is also a problem for preview in the new Replace dialog from the Search view (unordered and not hierarchical).
(In reply to comment #6) > Is also a problem for preview in the new Replace dialog from the Search view > (unordered and not hierarchical). Added a similar workaround in org.eclipse.search.internal.ui.text.ReplaceRefactoring (sort by full path).