问题
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.
回答1:
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.
回答2:
Regarding the shortcut: You have to enable the command group SVN
.
Window -> Customize Perspective... -> Command Groups Availability -> check "SVN"
.
If you do this, some SVN actions show up in the toolbar which you can remove again (if you want) using the same Customize Perspective
dialog (tab Tool Bar Visibility
).
Remapping the shortcut did not work for me but enabling the command group did (with the default key mapping Ctrl+Alt+A
).
(did not find a way to reply to Aaron's answer so I had to create a new one)
来源:https://stackoverflow.com/questions/1860420/how-to-activate-revision-info-in-line-number-view