Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to activate revision info in line number view

I know of an Eclipse feature to show revision information (gradual coloring, more info like revisionnumber, date and author on mouseover) for the last changes in a line in the linenumbers-view.

Does anyone know how to activate this feature for a file, or even better, by default? I accidently hit some shortcut lately which made it show in one file, it does not show up in the others, though.

like image 794
Joshua Avatar asked Dec 07 '09 14:12

Joshua


People also ask

How can I tell who wrote an Eclipse code?

In Eclipse right click on your java class. this will give the name of authors for each line.

How to see Git blame in Eclipse?

Open the history for the file. Then right click on a previous commit. Select "Show Revision Information". From here you'll see the margin's line numbers now shows as different colors (assumes you have line numbers showing).


1 Answers

This is called "Show Annotation" and you can find it in the "Team" menu. Since this is a pretty expensive operation, you can't make it the default.

like image 63
Aaron Digulla Avatar answered Sep 26 '22 00:09

Aaron Digulla