Hisu
Hisu

Reputation: 95

Can Eclipse hold multiple different 'Compare' windows at the same time?

Like in the topic - is there any default way or any plugin that lets you have multiple 'Compare' windows open and active at the same time? I find it very frustrating that while doing changes to few files at the same time, I can't have active 'Compare' window for each of them, to see my changes/original code.

Upvotes: 2

Views: 1091

Answers (3)

Jim
Jim

Reputation: 21

Go to preferences -> team -> General Team Preferences. For me, the "Reuse open compare editors when opening comparisons" was already checked by default. I unchecked that and now I can have multiple file comparison windows open! (I'm using Eclipse Oxygen.3a -- 4.7.3a)

Upvotes: 2

Lii
Lii

Reputation: 12131

A compare window in Eclipse is placed inside a normal editor tab.

You can have several editor tabs, including compare windows, visible at the same time. To do this just drag the editor tab (the one on the top with the editor name) to somewhere inside the editor area. The editor area will get split in two, each one displaying one editor.

This works with more than two editors also.

If you find that you need more space for the compare windows because other views take up much space you can maximize the editor area by pressing Ctrl+M while the editor area has focus.

Example: enter image description here

Upvotes: 1

amdyes
amdyes

Reputation: 231

I would use Window -> New Window, rerun Team -> Show History and then compare another file.

Upvotes: 3

Related Questions