vsDiffMerge.exe选项 [英] vsDiffMerge.exe options
问题描述
大家好,
这是我的问题...
我试图避免标签和空格之间的比较重新格式化源代码...
原文:
[tab] int [tab] [tab] X [tab] = [space] 0 ;
替换为
[space] [space] int [space] [space] [space] [space] X [space] = [space] 0;
使用/ ignorespace选项...我仍然收到这两行之间的差异。它仍然指出[tab]在"int"之间。和"X"表示"X"和"X"。正在修改。
我错过了什么!
<嗨Olivier,
我尝试了/ ignorespace选项,但我没有忽略空格和标签的差异。
但是我  ;找到另一个比较工具WinMerge可以满足您的要求。
我在这里下载它: http ://winmerge.org/downloads/?lang = en
您可以按照本文实现使用带有TFS的winmerge。
http://www.neovolve.com/2007/06/19 / using-winmerge -with-tfs /
在WinMerge.exe中,在编辑 - >选项 - >比较中,选择在空白区域中忽略全部。
最好的问候
Hi all,
Here is my question...
I try to avoid the comparaison between tabs and space when I reformat source code...
the Original:
[tab]int[tab][tab]X[tab]=[space]0;
replace by
[space][space]int[space][space][space][space]X[space]=[space]0;
with the /ignorespace option... I still receive a difference between these 2 lines. It still pointing that [tab] between "int" and "X" are modification.
Do I miss something!
Hi Olivier,
I tried the /ignorespace option, but i did not ignore the difference of space and tab.
But I find another compare tool WinMerge could meet your requirement.
I download it here:http://winmerge.org/downloads/?lang=en
You could follow this article to implete using winmerge with TFS. http://www.neovolve.com/2007/06/19/using-winmerge-with-tfs/
In WinMerge.exe, in edit-->options -->Compare, choose ignore all in Whitespace section.
Best Regards
这篇关于vsDiffMerge.exe选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!