stu
stu

Reputation: 8815

Is it possible to map a hotkey to "compare to each other" in eclipse?

The key mapping options in eclipse are voluminous, but they don't seem to include "compare to each other." Is there something I'm missing?

Upvotes: 6

Views: 1047

Answers (3)

Ratilius
Ratilius

Reputation: 133

After highlighting 2 files or folders in the browser get the context menu by clicking with the right mouse button or the key next to your right ctrl button and type a (compare) and then e (each other)

Upvotes: 0

VonC
VonC

Reputation: 1329962

No, there is no shortcut, but you can open the Preferences (General / Keys), type "Compare", and assign a shortcut there.

(two commands can fit your description:

  • either to 'Compare With Another Branch or Version, in a CVS context
  • or "Compare With Other Resource": Compare resources, clipboard contents or editors, which is certainly what "Compare to > Each other" is about )

alt text
(source: eclipse.org)

Upvotes: 6

endless
endless

Reputation: 3473

I am using Eclipse Mars 4.5.0. As shown below, uncheck all the filters and then you will see the option - "Compare with each other"

Eclipse Keys - Filters

Upvotes: 3

Related Questions