Eclipse EGit无法打开文件比较 [英] Eclipse EGit Not Opening File Comparison
问题描述
我正在将Eclipse(Photon 4.8.0)用于Git项目.在提交之前,我一直双击出现在 Git Staging View
的 unstaged更改
部分中的文件,以提醒自己在写提交消息之前我做了哪些更改(我对Git还是很陌生,所以偶尔我会做几件事,然后再记住我必须提交更改).但是,今天双击文件只是打开文件,而不是打开比较视图
.我仍然可以通过右键单击文件并选择<与索引比较来打开比较视图
,但这会花费更多时间并且令人沮丧.
据我所知,我尚未更改任何设置(无论如何都没有故意更改).有人可以向我解释如何恢复我以前看到的行为吗?
确保在 Git Staging 视图工具栏中, 比较模式 按钮.
另请参见历史记录"视图的EGit用户指南,带有相同图标./p>
I am using Eclipse (Photon 4.8.0) for a Git project. Before committing, I have been double clicking the files which appear in the unstaged changes
section of the Git Staging View
to remind myself of what I have changed before writing the commit message (I'm still new to Git so occasionally I will do several things before remembering that I have to commit my changes). However, double clicking on the file today merely opens the file, rather than opening the comparison view
. I can still open the comparison view
by right clicking the file and selecting Compare with Index
but this takes more time and is frustrating.
As far as I know, I haven't changed any settings (not intentionally anyway). Can someone explain to me how to get back the behaviour I was seeing before please?
Make sure, in the Git Staging view toolbar the Compare Mode button is pressed.
See also EGit User Guide of the History view with the same icon.
这篇关于Eclipse EGit无法打开文件比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!