显示注释不起作用 [英] Show annotations not working

查看:136
本文介绍了显示注释不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Eclipse与egit插件。当我点击团队 - >显示注释时,它不会显示任何内容。但是我可以通过查看历史记录查看注释,然后右键单击所需的更改集。



第一种方式不应该显示我正在处理的最新版本的文件的注释?

解决方案

我发现 eclipse bug 394161 这表示show annotations功能将无法正常工作,除非您将EGit首选项设置为忽略空格更改。您可以通过转到窗口 - >首选项 - >团队 - > Git,然后选中忽略空格更改框。这解决了我的问题。


I use Eclipse with egit plugin. When I click Team -> Show Annotations, it shows up nothing. But I could view annotations by going to the history and then right clicking on the desired change set.

Shouldn't the first way show annotations from the latest version of that file I am working on?

解决方案

I found eclipse bug 394161 that says the show annotations functionality won't work unless you set your EGit preferences to ignore whitespace changes. You can do that by going to Window -> Preferences -> Team -> Git and checking the box that says "Ignore whitespace changes". That fixed the problem for me.

这篇关于显示注释不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆