Eclipse:如何显示在 CVS 中更改此行的用户?

发布于 2024-07-21 16:08:05 字数 194 浏览 3 评论 0原文

有人曾经向我展示了一个很酷的 IntelliJ Idea 插件,它可以在 Java 源代码编辑器中显示来自 CVS 的所有用户提交信息。

它在窗口右侧有一个垂直条,用户更改/提交的每个代码块都以不同的颜色突出显示,鼠标悬停将显示有关用户和版本等的详细信息。

我渴望在 Eclipse 中获得类似的东西。

有什么指点吗?

Someone once showed me a cool IntelliJ Idea plugin that would show all the user commit information from CVS right there in the Java source editor.

It had a vertical bar on the right of the window and every code block changed/committed by a user was highlighted with different color and mouse-over would show the details about user and version etc.

I am craving for something similar in Eclipse.

Any pointers?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

就像说晚安 2024-07-28 16:08:05

您是否在寻找这个

右键单击文件,选择“团队”、“显示注释”,您将看到谁最后编辑了哪一行代码。

这是来自“Eclipse 3.2 中的新增功能" 文章来自 onjava.com,其中添加:

将鼠标悬停在更改块上将显示开发人员名称、日期以及为该更改输入的注释。 它还将突出显示文件其余部分中同一修订版中贡献的其他代码部分。

CVS 快速差异注释显示基于颜色的注释,说明谁在文件中做了什么。
(来源:onjava.com

Are you looking for this?

Right-click on a file, choose "Team", "Show annotation" and you'll see who last edited which line of code.

Here is an illustration from the "What's New in Eclipse 3.2" article from onjava.com, which adds:

Hovering over a change block will show the developer name, date, and comments that were entered for that change. It will also highlight other sections of code in the rest of the file that were contributed in the same revision.

CVS Quick Diff annotations show color-based annotations of who did what in the file.
(source: onjava.com)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文