Eclipse: Show author of each line in editor?

前端 未结 3 1090
旧时难觅i
旧时难觅i 2021-01-02 01:48

I\'d like to show the name of the author of each line in my Java files. I am already using FishEye (http://www.atlassian.com/software/fisheye/) but I\'d like to have this fe

相关标签:
3条回答
  • 2021-01-02 02:19

    There is a similar feature in Eclipse: select Team / Show Annotation... in the right click menu on a Java file. It should work with various team providers (I only have experiences with CSV and SVN).

    Short description of this feature is available here.

    UPDATE: for the Eclipse EGit team provider, the corresponding menu is called Team / Show revision information. See more information in the excellent EGit User Guide.

    0 讨论(0)
  • 2021-01-02 02:19

    In Eclipse right click on your java class.

    Team -> Show Revision Information

    then right click on the line numbers

    Revisions -> Show Author

    this will give the name of authors for each line.

    0 讨论(0)
  • 2021-01-02 02:20

    As of (at least) Eclipse Oxygen, "Show Annotation" is no longer on the Team menu.

    The menu has been renamed "Show Revision Information", and is located at the bottom of the Team menu.

    0 讨论(0)
提交回复
热议问题