Eclipse:从上一版本显示注释 [英] Eclipse: Show Annotation from Previous Revision

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

问题描述

我正在使用Eclipse与Subversion,我发现显示注释功能是非常有帮助的。我现在想做的是这样的:假设我在某个修订中找到一个改变的行。我想看看该文件之前的修订版文件包含注释。我在右键菜单中看不到任何可以让我这样做的东西。有没有另外一种方法?



(对不起,如果这看起来很明显,我刚刚从NetBeans切换了这个功能的前面和中心)



我正在Java EE视角工作,如果它很重要,并处理Java和JavaScript源文件。

解决方案

我怀疑,如果您不能直接执行,您需要将注释视图与 ,如果您需要

I'm using Eclipse with Subversion and I've found the Show Annotation feature to be quite helpful. What I want to do now is this: suppose I find a certain line that was changed in a certain revision. I want to see what the file looked like in the revision before that one - including annotations. I don't see anything in the right click menu that would let me do that. Is there another way?

(Sorry if this seems obvious, I've just switched over from NetBeans which has this feature up-front and center)

I'm working in the Java EE perspective, if it matters, and dealing with Java and JavaScript source files.

解决方案

I suspect, if you cannot do it directly, you need to combine the Annotation view with the History view for that file (if you are using Subversive).

you can "Link with editor and selection", in order for that view to display the right history, find your version and previous version there, and:

  • "Compare current with 'selected'" to see the delta with the current version
  • "Compare with Previous State": to see the delta between the version you found in the Annotation View and its previous version
  • or even revert to that version if you need to

这篇关于Eclipse:从上一版本显示注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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