Home > Development Tools > VSCode > body text

How to achieve code comparison in vscode

王林
Release: 2020-01-10 11:25:57
Original
23493 people have browsed it

How to achieve code comparison in vscode

Open VSCODE, click [File]--"[Add Folder to Workspace...] Browse and open the folder where the file you want to compare is located

How to achieve code comparison in vscode

After the import is successful, you can see on the left side of VSCODE that the file has been imported into the workspace

How to achieve code comparison in vscode

Press the CTRL key to select the two files to be compared. , and right-click and select [Compare Selected] to start comparing files

How to achieve code comparison in vscode

VSCODE will separate the two files left and right, and the differences will be highlighted in red. The red areas of the status column indicate differences. You can directly click on the red areas to quickly view

How to achieve code comparison in vscode

Recommended related articles and tutorials: vscode tutorial

The above is the detailed content of How to achieve code comparison in vscode. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!