在 Eclipse 中显示历史记录什么也不显示

发布于 2024-09-04 18:50:52 字数 492 浏览 3 评论 0原文

我试图找出为什么当我在文件上使用 Team->Show History 上下文菜单时 Eclipse (v3.5.1) 不显示任何 CVS 历史信息。 “显示注释”确实正确显示注释,因此我知道与 CVS 服务器的连接工作正常。通过“显示历史记录”,我只获得带有三个窗格的“历史记录”选项卡,但其中没有任何内容。奇怪的是,“显示历史”过去曾发挥过作用。

我尝试在谷歌上搜索有关此问题的信息,但似乎没有人遇到同样的问题。我还尝试在调试模式下启动 Eclipse (./eclipse -debug),但没有收到相关错误消息。我还在干净模式下运行 Eclipse,以清除所有缓存的插件数据。

还有哪些其他方法可以对 Eclipse 及其与 CVS 的集成进行故障排除?

我怀疑这可能是渲染问题。如果我选择“显示注释”,然后在编辑器窗口中选择一个注释,“历史记录”选项卡将显示与所选签入关联的注释,但没有其他内容,没有版本或分支信息。所以看起来信息就在那里,但 Eclipse 没有绘制。也许是 SWT 或 GDK 的问题?

I'm trying to figure out why Eclipse (v3.5.1) does not show any CVS history information when I use the Team->Show History context menu on a file. "Show Annotation" does show the annotations correctly, so I know the connection to my CVS server is working correctly. With Show History I just get the History tab with three panes, but nothing in them. Strangely Show History has worked in the past.

I've tried googling around for information on this issue, but no one seems to have the same problem. I also tried launching Eclipse in debug mode (./eclipse -debug) but I get no relevant error messages. I ran Eclipse in clean mode as well to clear out any cached plug-in data.

What other methods are out there for troubleshooting Eclipse and its integration with CVS?

I suspect this might be a rendering issue. If I select Show Annotation, then select an annotation in the editor window, the History tab shows the comment associated with the selected checkin, but nothing else, no versions or branch info. So it seems the information is there, but is not getting drawn by Eclipse. Perhaps an issue with SWT, or GDK?

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

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

发布评论

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

评论(2

月竹挽风 2024-09-11 18:50:52

该问题已在 Eclipse 3.6 版本中修复,如以下错误所述: https:// /bugs.eclipse.org/bugs/show_bug.cgi?id=313480

我先尝试了3.5.2,仍然有问题。然后我尝试了 3.6RC4,并能够验证问题是否已得到解决。

The problem is fixed in version 3.6 of Eclipse as noted in this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=313480

I tried 3.5.2 first, which still had the problem. I then tried 3.6RC4 and was able to verify that the problem has been fixed.

∞梦里开花 2024-09-11 18:50:52

从上面的 mmorrisson 链接(在这里放置它更简单):

您的 .metadata/.plugins/org.eclipse.team.cvs.ui/dialog_settings.xml 应包含以下内容,而不是到处都包含 value="0" :

<section name="org.eclipse.team.internal.ccvs.ui.CVSHistoryTableProvider">
    <item value="112" key="COL_DATE"/>
    <item value="245" key="COL_COMMENT"/>
    <item value="72" key="COL_TAGS"/>
    <item value="1024" key="SORT_COL_DIRECTION"/>
    <item value="COL_DATE" key="SORT_COL_NAME"/>
    <item value="87" key="COL_REVISIONID"/>
    <item value="70" key="COL_AUTHOR"/>
</section>

.metadata目录位于工作空间的根目录下。

From mmorrisson's link above (it's just simpler to have it here) :

your .metadata/.plugins/org.eclipse.team.cvs.ui/dialog_settings.xml should contain the following instead of value="0" everywhere :

<section name="org.eclipse.team.internal.ccvs.ui.CVSHistoryTableProvider">
    <item value="112" key="COL_DATE"/>
    <item value="245" key="COL_COMMENT"/>
    <item value="72" key="COL_TAGS"/>
    <item value="1024" key="SORT_COL_DIRECTION"/>
    <item value="COL_DATE" key="SORT_COL_NAME"/>
    <item value="87" key="COL_REVISIONID"/>
    <item value="70" key="COL_AUTHOR"/>
</section>

The .metadata directory is at the root of your workspace.

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