从 Eclipse 历史记录视图中打开工作副本文件
Eclipse 的历史视图向您显示在某个版本中更改的文件列表。当您打开其中之一的上下文菜单时,您可以选择“打开”选项,该选项将打开该版本中该文件的视图。
如何直接从历史视图打开所选文件(即工作副本版本中的文件)的编辑器?
背景是我想使用历史视图来查找最近更改过的文件以进行代码审查。人们通过 subversion 提交,我使用 subclipse 将 eclipse 连接到 subversion 服务器。
今天,我必须使用“打开资源”/“打开类型”功能并键入可以从历史视图中读取的文件名。
The history view of eclipse shows you a list of files changed in a certain revision. When you open the context menu on one of these you have the option 'Open' which opens a view of that file in that revision.
How can I open the editor for the selected file, i.e. the file in the version of the working copy, right from the history view?
Background is that I want to use the history view to find files that have been changed recently to do code reviewing. People commit via subversion and I use subclipse to connect eclipse to the subversion server.
Today, I must use the 'Open resource'/'Open type' function and type the name of the file that I can read from the history view.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如您所注意到的,当查看修订版 X 的文件时,您无法直接打开工作副本中的同一文件...
但是,在对更改进行代码审查时,我通常发现不仅查看当前版本很有用,但要查看以下之间的修改:
这可以使用“比较”编辑器来完成。
要打开它:
优点:
缺点:
As you noticed, when looking at a file at revision X, you cannot directly open the same file that's in the working copy...
But, when doing code reviews of changes, I generally find useful to not only look at the current version, but to look at the modifications between :
This can be done with the "Compare" editor.
To open it :
Advantages :
Drawbacks :