How to activate revision info in line number view

倖福魔咒の 提交于 2019-12-09 16:38:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!