Eclipse 比较编辑器 : difference between the 'next difference' and 'next change' buttons?

标签 eclipse

今天问一个简单的问题...

在 Eclipse 比较编辑器中(右键单击文件 - 与...比较)“下一个差异”和“下一个更改”按钮之间的区别是什么?他们似乎在做同样的事情。

它在烦我!

谢谢

最佳答案

Help page for the "compare editor"状态:

  • A change is a portion of text that has been modified within the line, and
  • the difference is a section of file consisting of one or more lines, and can contain many changes.

Differences are marked with blue color, changes with red.



Eclipse compare Editor

因此,如果每个差异每次都只是一行内的一个更改……那么是的,更改和差异将完全匹配。

关于Eclipse 比较编辑器 : difference between the 'next difference' and 'next change' buttons?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6773648/

相关文章:

java - 将 mysql 连接器添加到 eclipse 中的 maven/nexus 构建

java - 如何反射(reflect)项目中的更改,这是在同一类型的项目中完成的

java - Eclipse JAR 创建与 cmd 行 JAR 创建

java - 使用 ProcessBuilder 在 Java 中创建路径

eclipse - 从XSD文件生成Java类-JAXB

php - Eclipse:自动添加 "use namespace"

python - matplotlib 在 Eclipse 中不起作用

eclipse - Tomcat 中的 native 库 UnsatisfiedLinkError + Windows + eclipse

eclipse - 如何在计算机之间克隆 Eclipse 安装?

Eclipse Gradle插件: adding dependencies automatically like Maven