Bug 39126 - Compare two open files
Summary: Compare two open files
Status: CLOSED DUPLICATE of bug 224562
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement with 5 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 63179 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-19 11:02 EDT by Adalbert Homa CLA
Modified: 2018-06-29 06:50 EDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adalbert Homa CLA 2003-06-19 11:02:07 EDT
Currently the only way to compare two files is by selecting them in the
navigator and from the menu, "Compare with each other". 
This is very cumbersome, specially when the files are open in front of you.
We should be able to compare to editors, not two files.
One place that this can be put is in the list of the editors. (Ctrl+Shift+W)
Comment 1 Andre Weinand CLA 2003-07-25 03:48:12 EDT
Will consider for 3.0.
Comment 2 Andre Weinand CLA 2004-06-02 18:47:01 EDT
*** Bug 63179 has been marked as a duplicate of this bug. ***
Comment 3 Andreas Böckler CLA 2008-03-27 13:15:58 EDT
Is someone working on that? 
It would be a very useful and productive feature, wen you have to compare two files from two projects
project1/src/a/c/d/e/FileA.java
project2/src/a/c/d/e/FileA.java

Emacs has this for ages:
ediff-compare-buffers anyone?
Comment 4 Tomasz Zarna CLA 2008-06-03 06:08:18 EDT
Resolution LATER is deprecated, reopening to address it during GSOC.
Comment 5 Kyle Grymonprez CLA 2011-07-11 15:04:12 EDT
This bug has been assigned for 3 years, did this get fixed in a different bug?
Comment 6 Tomasz Zarna CLA 2011-07-13 08:37:23 EDT
(In reply to comment #5)
> (...) did this get fixed in a different bug?

No, it's still waiting for a volunteer.
Comment 7 Holger Grote CLA 2011-07-13 11:05:47 EDT
A Workaround could be the funktion 'Compare with open Editor...' in the AnyTool Plugin (http://andrei.gmxhome.de/anyedit/index.html) 

The GSOC draft for this is: http://wiki.eclipse.org/The_%22Compare_with%22_dialog
Comment 8 Tomasz Zarna CLA 2011-07-14 03:24:25 EDT
(In reply to comment #7)
> The GSOC draft for this is:
> http://wiki.eclipse.org/The_%22Compare_with%22_dialog

Right, this reminded me that we actually do have this kind of dialog in Eclipse. Go to "General > Keys" and look for "Compare With Other Resource". When bind select a file in an explorer and press defined key seq. The dialog has been hidden because it still need some polishing (see bugs blocking bug 224562).
Comment 9 Lars Vogel CLA 2018-06-29 06:50:01 EDT

*** This bug has been marked as a duplicate of bug 224562 ***