打开notepad,点击工具栏上的[插件]–》plugin manager —》show plugin manager,勾选√compare –》install,如图所示:
用notepad打开要对比的两个文件,比如sn.txt和11.txt,其中sn.txt是源文件,11.txt是目标文件。点击菜单栏的【插件】—》compare。
勾选√ :align matches (对齐匹配) 、ignore spacing (忽略空格) 、detect moves (检测移动) 、navigation bar (导航栏) 。
查看黄颜色表示的行,发现目标文件11.txt中语句的int有问题,应该是init,即 int —> init
以上就是notepad++能对比两个文件的差异吗的详细内容。
