Summary: | [compare] Compare With > Each Other should collapse different type names into one structure compare node | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Carolyn MacLeod <carolynmacleod4> | ||||
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> | ||||
Status: | ASSIGNED --- | QA Contact: | |||||
Severity: | enhancement | ||||||
Priority: | P3 | CC: | markus.kell.r | ||||
Version: | 2.0 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows 2000 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Carolyn MacLeod
2002-01-25 10:35:28 EST
Created attachment 264 [details]
Compare Browser
If you compare two classes which were derived from each other but where the identifying ID (the class name) no longer match, structure compare cannot automatically match them and shows them as one addition and one deletion. This is absolutely correct (but doesn't help you :-). So here is what you can do: - in the structure compare just select the top level node 'compilation unit' the text compare browser will show you both classes side by side. - if you want to compare on a finer granularity than CUs you can "Compare with each other' on Java elements too. In the package navigator drill down to the two classes that you want to compare, but where the names don't match. Select both classes and do 'Compare with each other'. If your PR is really asking for a way to 'force' a compare on two non-matching entities (by selecting them in structure compare), this is a planned feature for after 2.0. Improvement planned after 2.0 Drilling down to the class objects to compare with each other does help - thanks! I do look forward to the general solution after 2.0. As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you. This is not fixed and the request perfectly makes sense. "Compare With > Each Other" should collapse different type names into one structure compare node (at least for the top-level types). |