Type 1 : If we check out the project from SVN, and want to compare the differences between the local code and the code when checking out from SVN, you can follow the steps below
-
As shown in the figure above, in the code editing area,
右键
call out the function menu, and then selectSubversion
, and then more options will be displayed, for example: Compare with the Same Repository Version
, compared with the same version in the SVN repository;Compare with Latest Repository Version
, compared with the latest version of the SVN repository;Compare with...
, click to select different versions of this branch for comparison;Compare with Branch
, after clicking, you need to configure the specific branch to be compared first, and then compare it with the specified branch;Show History
, isCompare with...
similar, but only shows the version history of this branch first.- Type 2 : To compare the difference between two local codes, you can follow the steps below,
- First, select the target folder (select
src
the folder in the figure),右键
call out the function menu, and then clickCompare With
:As shown in the figure above, select the same directory of another local code that you want to compare with, and then click the
OK
or确定
button === Remember to refresh after selecting the path :