问题标签 [winmerge]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
9492 浏览

jar - Getting WinMerge to compare .jar files

I have two directories which contain a handful of *.jar and *.war archives, as well as some metadata files and a file with *.spring extension, which is really just a zip file with an odd name. Something like this:

I'd like to do directory comparison on these directories, comparing the archives as if they were subfolders rather than binary files. Other files, both text and binary files both outside and inside the archives, should be compared as usual.

I know I could just explode all the archives manually and compare the exploded versions, but since they are generated by a build script and exploding them adds a considerable amount of time for building the project, it would be nicer to just do it for the comparison, preferrably within the diff tool.

I've tried using WinMerge with the 7zip plugin, but I can't get the plugin to work (the files are not recognized as archives in the folder compare view). I've tried both installing as a "shared installation" and as an "application specific installation" (pointing the installer to C:\Programs\WinMerge\WinMergeU.exe). I've also tried manually copying the .dll files from the plugin into the MergePlugins folder, without success.

How do I get this working in WinMerge? And if it's not possible, is there some other good tool that has this capability?

0 投票
1 回答
3563 浏览

regex - 如何使用 winmerge 行过滤器进行 java 注释

如何过滤winmerge中的所有java注释?

这些是我想过滤掉的行吗?

0 投票
1 回答
2892 浏览

git - 使用 Microsoft Git Provider 时用 winmerge 替换 Visual Studio 2012 Diff 工具

我安装了 Visual Studio 2012 v3 和 git 扩展。

I want to change the default merge tool to winmerge but it seems that this is not a trivial task when Microsoft Git Provider is chosen.

当我转到 VS -> 工具 -> 选项 -> 源代码管理时,我只有插件选择选项卡,无法选择配置工具以更改为 WinMerge。

截屏

有没有办法在 VS2012 中使用带有 WinMerge 的 Git 扩展?

0 投票
1 回答
1931 浏览

select - WinMerge select "Tools" -> "Generate Report" missing

I used to have nice HTML reporting in WinMerge by selecting "Tools" -> "Generate Report". Now that feature is missing. Does anyone have a link to that plugin? I've been scouring the prior versions in 7zip format to no avail.

0 投票
1 回答
207 浏览

command-line - Revision/HEAD 作为 TortoiseIDiff 的参数

我正在尝试让 Notepad++ 自动启动 Tortoise 的差异。

使用 WinExplorer 的上下文菜单,Tortoise 做得很好。我使用 WinMerge 比较和合并文件并执行它。但我找不到让 Tortoise 执行相同操作的命令行方式。

我找到http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation-idiff.html了,但没有用。我需要做的是 Tortoise 用我想比较的文件的 HEAD 副本创建一个临时文件,并执行 WinMerge,将这些文件作为参数传递。

0 投票
2 回答
2326 浏览

c# - 如何“以编程方式”将差异工具与 Visual Studio 集成

有没有办法“以编程方式”将差异工具(如 WinDiff 和 WinMerge)与 Visual Studio 2010 集成?这些文件不是在解决方案资源管理器中找到的文件。

程序必须在列表中搜索并存储从某个目录中找到的文件,然后递归地比较具有相同名称的文件。

0 投票
0 回答
226 浏览

configuration - 从 TortoiseHG/Mercurial 调用时的 WinMerge 配置

概括:

当 TortoiseHG/Mercurial 调用 WinMerge 时,它​​似乎将/e命令行参数作为标准传递。如何配置它以便不传递命令行参数?

细节:

我在 Windows 7 上使用 TortoiseHG(2.10.1) 和 WinMerge (2.14.0)。mercurial 全局设置配置为使用 WinMerge 进行 vdiff 和合并。

调用 WinMerge 时,/e命令行参数表示该Esc键在第一次按下时关闭 WinMerge。

我的问题是,当我双击 WinMerge 中更改文件列表中的文件时,它会打开一个新选项卡,然后单击Esc关闭 WinMerge,而不仅仅是单个文件比较选项卡。我希望能够按下Esc键来关闭单个文件比较选项卡......据我所知,删除/e将做到这一点。

不幸的是,我无法弄清楚如何获取配置文件来做到这一点。

这是我目前拥有的配置文件...

我也尝试过改变cmd.winmergeandopts.winmerge来使用winmergeu


额外的:

我也刚刚尝试添加hgext.extdiff=到该[extensions]部分以及以下内容......但仍然没有运气。

(此信息来自此博客

0 投票
3 回答
8678 浏览

batch-file - 以编程方式将击键发送到 Groovy 或 bat 脚本中的窗口程序

0 投票
1 回答
86 浏览

winmerge - 使用 WINMERGE 仅比较 2 个巨大 (~1GB) 目录树中的 .f 和 .f90 文件 (~10 MB)

我有 2 个目录树(许多子目录,最多 5-6 级),每个目录树总共有 1GB 的文件。我只需要比较这棵树中的 .f 和 .f90 文本文件,它们只占很小的百分比(它们占用的空间略小于 10 MB)。然后我想在结果窗口中有一个 .f 和 .f90 文件的列表,而不是目录树。通过这种方式,我可以立即查看哪些是不同的文件并复制差异,而无需浏览目录。有什么帮助吗?

0 投票
3 回答
56365 浏览

windows - 系统与用户 PATH 环境变量... winmerge 仅在我将路径添加到用户 PATH 时才有效

如果我添加C:\Program Files (x86)\WinMerge到用户PATH变量(通过右键单击计算机 -> 高级系统设置 -> 环境变量),一旦我打开一个新的 cmd shell WinmergeU.exe 将无法识别。如果我将该路径添加到 SystemPATH变量,则 WinmergeU.exe 会被正确识别。我虽然用户和系统之间没有区别,但如果我在系统上设置它,所有用户都会看到它,而用户PATH是本地的。难道我做错了什么?

编辑1:

在下文中,您首先可以看到C:\Program Files (x86)\WinMerge添加到系统PATH变量(但不添加到用户)的情况,然后是添加到用户PATH变量(但不添加到系统)的情况。在第一种情况下,Winmerge 窗口正确启动(未显示),您可以看到路径由 echo %PATH% 命令显示。在第二种情况下,它不会启动,并且 echo %PATH% 不会显示它的路径。(请注意,在截取这些屏幕截图之前,我清楚地确认了 OK 并关闭了环境变量窗口,并且在更改 PATH 并按下 ok 后立即打开了一个新的 cmd)。这个问题可能与我在这里的问题有关(回声 %PATH% 是否扩展到仅系统或用户变量?)但因为它可能不是我发布了两个不同的问题。

系统

用户