Home > Software Tutorial > Computer Software > A simple way to automatically ignore unimportant differences when comparing with Beyond Compare

A simple way to automatically ignore unimportant differences when comparing with Beyond Compare

王林
Release: 2024-04-07 19:31:03
forward
1132 people have browsed it

php editor Apple recommends using the Beyond Compare tool for file comparison. It can automatically ignore unimportant differences and provide a simple and intuitive comparison interface. Beyond Compare's powerful functions and user-friendly operation make file comparison simple and efficient.

1. In the menu bar [Tools]-[File Format]. Make new file formats, or edit existing ones.

Beyond Compare对比时自动忽略不重要差异的简单方法

Figure 1: File format

Converting a file into a syntax selection card is a very important operation. Because all new elements in text format will be handled similarly via session settings. If you compare a Java file to a C file and then mark Strings as non-essential in the syntax, both Java strings and C strings will be marked as non-essential.

Beyond Compare对比时自动忽略不重要差异的简单方法

Figure 2: Syntax settings

Define element types:

· Basic: Match a specific portion of text. Can be expressed as a regular expression.

·Boundary: Match the starting point of the text and the end point of the text. Can stop at end of line.

· List: Basic matching list. Can be used in place of a separate Basic element.

· Column: A portion of text defined at the starting position of the row and the ending position of the number.

· Line: Matches the starting point or first line of text and ends with a user-defined number of lines.

Beyond Compare对比时自动忽略不重要差异的简单方法

Figure 3: Element Types

Open your file pair in a text comparison session. Navigate to Session | Session Settings | Importance tab. It is important to check the items. Items that are not checked are not important. Uncheck the name of the new element (e.g. [VarString]).

If you want the importance setting to affect all comparisons instead of just the current comparison, change the drop-down list at the bottom of the dialog box from [For this view only] to [Update session defaults], and then click 【Sure】.

Differences matching element definitions will now be treated as unimportant differences.

The above is the detailed content of A simple way to automatically ignore unimportant differences when comparing with Beyond Compare. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
c++
source:zol.com.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template