Eclipse Equivalent of IntelliJ's Annotate (or Git Blame)

James Oravec picture James Oravec · Jul 11, 2017 · Viewed 8.6k times · Source

Its been a minute since I've developed in eclipse. Is there an equivalent of IntelliJ's annotate feature?

In essence, you right click on the margin and select annotate. After which in the margin you see who the last people where who made modifications to the code per line (like git's blame).

enter image description here

Other notes:

Answer

user1821961 picture user1821961 · Oct 30, 2018

In eclipse photon I've found I'm able to right click the gutter near the line numbers and click "show revision information".

enter image description here

the gutter is then highlighted different colors each line for what commit they belong to. Clicking the now colored line's number gutter I can peek at commit information. Here's the example header when doing so.

enter image description here

Edit: Sometime eclipse hides it this menu option under Team. Then you're stuck going through additional menus when you right click go to > Team > Show Revision Information

enter image description here

Sometimes to turn it off you may need to go to Revisions -> Hide Revision Information as the Show Revision Information button will not toggle the side gutter on/off, (only on). enter image description here