代码镜头在交互式重新分配后无法正常工作 [英] Code Lens not working properly after interactive rebase

查看:197
本文介绍了代码镜头在交互式重新分配后无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在VS2015中,通过CodeLens功能显示在代码中的所有代码元数据都来自于代码相关的作者和更改,在我完成git rebase -i和ammend之后,代码元数据消失了,并且承诺更正作者姓名(我的一个git配置文件中的拼写错误机)。同样的情况发生后,力推正确的回购,并拉到另一台机器与不同版本的IDE - VS2013。在团队资源管理器中,我可以看到所有相关信息和所有其他git集成函数也能正常工作。什么会导致这种情况?我能做些什么来解决这个问题?

解决方案

似乎最新的更新解决了这个问题。我有一段时间没有使用上述存储库,所以我不知道哪个更新可以解决问题,但我确信:


  • 这个bug在VS 2013更新5中得到解决

  • 很多CodeLens / git集成相关的bug在VS 2013更新2中得到解决



所以我猜测VS 2013和2015的VS 2013更新2后发布的更新都应该正常工作。


In VS2015 all the code metadata from git displayed in the code via the CodeLens functionality regarding the author and changes disappeared after I did git rebase -i and ammended commits to correct the author name (a typo in git configs in one of my machines). The same happened after force pushed the corrected repo and pulled to another machine with different version of IDE - VS2013. In Team Explorer I can see all the relevant information and all the other git intergrations functions work fine as well. What can cause this? What can I do to fix this issue?

解决方案

Seems like the latest updates solves this problem. I haven't used aforementioned repository in a while so I can't tell which update solves the problem, but I am certain that:

  • The bug is fixed in VS 2013 update 5
  • Many CodeLens / git integration related bugs were solved in VS 2013 update 2

So I am guessing that both VS 2013 and 2015 with updates released after VS 2013 update 2 should work correctly.

这篇关于代码镜头在交互式重新分配后无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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