Beyond Compare 2 ignore case

本秂侑毒 提交于 2021-01-27 04:50:28

问题


How can you get Beyond Compare 2 to ignore differences in letters case? E.g. "Foo Bar" and "fOo BAR" would be considered the same.


回答1:


This may be related to the type of file you are editing.

If you go to Tools/Options and Rules and work out which rule is applied to the files you are comparing and then see what is selected on the importance tab.

For example, if you edit/view the rules for Visual Basic files, you should see that Character case is ticked as being unimportant, but this is not ticked for C/C++ files.

So you may want to change the setting on the rule that BC is using, or else create a new rule for your type of file and select this option and then select ignore unimportant differences when you are comparing the files.




回答2:


In the version of BeyondCompare that I have (version 3.3 Pro), you can select "Text important, except for character case". To find this setting, click on the Rules toolbar button, then pick "Edit Default". Seen screenshot...

This option only appears in the "Data compare" settings.

enter image description here

If you are doing "Text compare", then you should make sure that "Character case" is not selected in the "Imporantance" tab, then choose "Ignore Unimportant Differences" -- that will do a case-insensitive compare.

enter image description here



来源:https://stackoverflow.com/questions/10805188/beyond-compare-2-ignore-case

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!