IDEA �� ����� ����, ���� ������ �ؽ�Ʈ�� ���ϱ� ���� ����� �� �ִ� ������ ��(diff)����� �����մϴ�.
�� ������ ����� �� �� �ִ� ���� ������ �� ����� ���� ���� ��Ҹ� ����ϰ�, ���� ���ȿ� �����Ͽ� ��ũ�� �����մϴ�.
����� ������ �� ������ ���� �� �ֽ��ϴ�:
���͸� �� ���Ͻʽÿ�
���� �����丮 ���� ���� ������ ������ ���Ͻʽÿ�
����� ���� ���� �������丮 ���� local file�� ������ ������ ���Ͻʽÿ�
������ ���� � local file �� ������ ���ϰ� ���Ͻʽÿ�
� 2���� local file �� ���� ���Ͻʽÿ�: text
�Ǵ� binary
�������� selected text�� Ŭ������ ����Ʈ �� ���Ͻʽÿ�
class/class member�� class/class member �� ���Ͻʽÿ�.
����� �����ϴ� ���� Ÿ�Կ� �������, Difference
Viewer �� ���������� ���� ���Դϴ�.
���� �����丮 �� ���� �Ϻ� �񱳴� � �ΰ����� ���� �⺻ �� �߰������� �𸨴ϴ�.
�׷� ���̴� ���� ���� ���ȿ� ���Ե˴ϴ�. ���� �׸��� Difference Viewer �� �ֿ� �κ��� �����մϴ�:
Difference Viewer Toolbar:
Icon
|
Function
|
Description
|

|
Copy
|
���õ� �ؽ�Ʈ�� ���ۿ� ī���մϴ�
|

|
Find
|
�ؽ�Ʈ ã�� ���̾�α׸� �θ��ϴ�.
|

|
Move to the
previous difference
|
���� � ���̶� �߰ߵǰ� ij���� ù��° ����(��ư�� ��� ����)�� ������,
�װ��� ���� ���� �ִ� �Ϳ� �ռ� ������ ������ ij���� ��� �ű�ϴ�.
|

|
Move to the
next difference
|
���� � ���̰� �߰ߵǰ�, ij���� ���� ����(��, ��ư�� ��� ����)�� ������,
ij���� ���� ���� �ִ� �� �Ŀ� ��� ���������� �ű�ϴ�.
|

|
Ignore Whitespace
|
�񱳰� �񱳵� ���� ���̿��� ���鿡 �ִ� ���̸� ǥ���ؾ߸� �ϴ����� �����մϴ�.
Do not ignore: ������ ��� ���̰� �������ϴ�
Leading and
Trailing: ���� ���� ������ �̲���, ������ ���� �����μ��� ���� ���� ��Ÿ���ϴ�
All: ������ ��� ���̴� ���õ˴ϴ�
|
Text
Views
���� ���� �񱳵� ������ ������ ����Ʈ�� ǥ���ϴ� 2���� �г��� ���� �����ϴ�:
�������� �г��� ������ ���� ���� ������ ǥ���մϴ�
������ �г��� ������ ���� ���Ͽ� �񱳵� ���� ���Դϴ�.
���� ���õ� �ؽ�Ʈ�� Ŭ������ ����Ʈ�� ���ϸ�, ���� ������ �����ʰ� ���� ���� Ŭ������ ����Ʈ�� ��Ÿ���ϴ�.
����� ���ϰ� �ִ� �Ϳ� ���� ���ʰ� �������� �ؽ�Ʈ ������ ���̺����� �پ��մϴ�.
���� ���, ���� ���� ������ ���� ���� �������丮�� ���ϸ�, ����� ���õ� �ؽ�Ʈ�� Ŭ������ ����Ʈ�� ���ϴ� �ͺ��� �ٸ��� ���̺� �˴ϴ�.
�Ϻ� ����(���� �����丮 �Ǵ� ���� ������ ��� ���̶�)�� ���Ͽ� ���� ������ ���� ��,
���� ����(�� �ҽ�)�� �б� �����̰� ������ ����(���� ����)�� ������ �� �ֽ��ϴ�. �� ���� ���� ������ ���� ��, ���� �¿� ���� ���� �����մϴ�.
��ǻ� ���� ������ �ؽ�Ʈ ����� �����Ϸ� ����, ������ ����� ǥ���ϴ� ��Ŀ ���� �����ϴ� Editor�� ���Դϴ�.
���� ����, ��Ŀ �ٵ� difference markers (���� �׸��� �Ʒ� ������)�� ǥ���մϴ�.
����� ���� ��Ŀ�� Ŭ���� �� �ؽ�Ʈ ����� ��Ŀ�� ���� ǥ�õ� ���̿� �����մϴ�.
���� ��Ŀ�� ������ �ؽ�Ʈ ������ �������� ��Ÿ���ϴ�. �׸��� ����� ���� �׵��� ���̸� �׺����Ʈ�ϱ� ���� �̿��� �� �ֽ��ϴ�.
Apply Change ������: 
���̰� ���۵Ǵ� ���� ���� Ȩ�뿡 ��Ÿ���ϴ�. ����(����, ����, ����)�� Ÿ�Կ� ����, �������� ����Ű�� ���� ������ �������� Ŭ���ϴ� ����
�� ���� ���� �� ���� ������ ���Դϴ�:
Ÿ�� ���Ϸ� ���̸� �����Ͻʽÿ�
������ �ؽ�Ʈ�� �Բ� ǥ������ �ؽ�Ʈ�� ��ü�Ͻʽÿ�
�������� ����Ű�� ���� ������ ������ �߻��մϴ�.
Remove �������� ������ �ؽ�Ʈ�� �ٸ� ���Ͽ��� ���Ե� � ��ҵ� ���� ������ �ؽ�Ʈ�� �ִ� ������ Ȩ�뿡�� ��Ÿ���ϴ�.
Status Legend:
���� ��� �Ʒ��� �� �ٴ� �߰ߵ� ������ ���� ���Ǵ� �÷� ��Ŵ�� �����ְ� �ִ� ������ ī��Ʈ�� �߰ߵ� ������ ���¸� ǥ���ϴ� ���� �����ݴϴ�.
���� ��Ŀ�� �ؽ�Ʈ�� ���̰� ������, �����̳� �������� �� ������ �����˴ϴ�. ���� �׸��� ���� �׵��� �ǹ̸� ǥ���մϴ�.
��(diff) ���۷��̼�
|
�� ������ IDEA���� ����� �� �� �ִ� ���� ���� ������ �� ���꿡 ���� ������ �����մϴ�.
�� Ÿ���� ������ ���ǰ�, ���� �����ϸ� ���õ� ���� ���ȿ��� �� �̻��� ������ ����Ǿ����ϴ�.
Comparing
directories:
����� Local
History ���� ������ ������ ���Ͽ� ��ü ���͸��� ����Ʈ�� ���� �� �ֽ��ϴ�.
����� ��� �ֱ��� Ȱ�� �Ǵ� ����� ���� �� �� �ֽ��ϴ�. ���� ����, ���� �����丮: ���͸� �����丮 �� ���ʽÿ�.
IDEA�� ������ ���͸��� �񱳸� ���� �������� �ʽ��ϴ�. �׷���, ���� ����� �װ��� �ϴ� ��ƿ��Ƽ�� ������ ������,
����� �ɼ��� �� ������ ����Ʈ�Ͽ� ������ �� �ְ�, �� ���� �װ��� IDEA
�ȿ��� ���͸��� ���ϱ� ���� ȣ���� �� �ֽ��ϴ�.
����� �ܺ� diff ������ �¾��ϱ� ���ؼ�:
�� �޴����� File |
Settings: IDE: General: Diff
options�� �����Ͻʽÿ�.
Use external tool to
compare folders�ڽ��� üũ�Ͻʽÿ�.
�װ� �Ʒ��� ellipsis ��ư�� Ŭ���ϰ�, �ܺ� ������ ���� ���� ���Ͽ� ��θ� �����մϴ�.
OK�� ���� ���̾�α׸� �ݱ� ���� OKŬ���Ͻʽÿ�.
����� �ܺ� ������ ������ �Ŀ�:
������Ʈ �� ������� ���� ������Ʈ ���⸦ �����մϴ�.
�ܺ� diff ������ ����Ͽ� ����� ���ϱ⸦ ���ϴ� 2���� ���͸��� �����մϴ�.
���� �޴��� ȣ���ϰ�, Compare
two directories�� �����մϴ�.
�ܺ� diff ������ ���õ� ���͸��� ������ ���̰�, ���� ���Դϴ�.
CVS ���� ���� ������ Ŀ�� ������Ʈ ���۷��̼ǰ� �����Ͽ� ���ð� ���� ���͸��� �� ���⸦ �����մϴ�.
�װ��� ���⿡�� �����
"diff" ��ɰ� ���� �ʽ��ϴ�.
���� ���� ������ Version Control:
CVS Integration: Project-specific
Operations: Commit�� ���ʽÿ�.
Comparing
a local file to a Local History version:
���� �����丮 Ư¡�� ���� ���Ͽ� ������ �����丮�� �����մϴ�.
����� ���� �����丮�� �鿡�� ������ � �����̶� ������ ������ ���� ������ ���� �� �ֽ��ϴ�.
���� ����, ���� �����丮: ���� �����丮 �� ���ʽÿ�.
Comparing
a local file to a VCS repository:
������Ʈ�� ���õ� ���� ���� ���(VCS) �������丮���� ����� ������ ������ �Բ� ������ ���� ���� ������ ���� �� �ֽ��ϴ�.
����� VCS�� ���� ������ ���� �޴� �׸����κ��� ���õ� VCS(CVS, StarTeam
��)�� ���� �ֿ��� �޴� �׸����κ���
�׸��� ������ ǥ���ϴ� � �� ������ ���� VCS�� ���� ���� ���� �޴� �׸����κ��� �񱳸� ȣ���� �� �ֽ��ϴ�.
����޴� ������ �ؽ�Ʈ�� ���õ� VCS�� ���� �پ�������, �׷��� "Compare with"��� �ܾ�� �Բ� �׻� ���۵˴ϴ�.
���� ���� ���տ� ���� �� ���� ������ ���� ���� ���� �� ���� ����� ����ϴ� �ý��ۿ� ���� ��θ� �����Ͻʽÿ�.
Comparing
a local file to current Editor file:
����� �����Ϳ��� ������ ���ϰ� �Բ� ����� ������Ʈ���� � �����̶� ���� �� �ֽ��ϴ�.
�� �񱳸� ����� ���ؼ�:
�����Ϳ��� ���� ���⸦ �����Ͻʽÿ�.
������Ʈ ����(������Ʈ �� ������)�Ǵ� ���ɾ� �����ڷ� ����, ����� �����ͷ� �񱳵DZ⸦ �ٶ�� ������ �����մϴ�.
���� �޴��� ȣ���ϰ�, Compare
File with Editor�� �����մϴ�.
Comparing
2 local files of a recognized type:
����� IDEA�� ���� �νĵ� Ÿ���� � �� ���� �����̶� ���� �� �ֽ��ϴ�.
����� ������Ʈ ����(������Ʈ �� ������)�Ǵ� ���ɾ� �����ڿ��� �� ���� ������ �����ؾ߸� �մϴ�.
2���� ������ ���ϱ� ����:
Project View �Ǵ� Commander�߿��� ���� ������ �����Ͻʽÿ�
�� ��° ���õ� ���� ������, ���� �޴��� ȣ���ϰ� Compare Two Files�� �����Ͻʽÿ�.
�񱳸� ���� ������ ������ �� ����ϰ� �ִ� ������ �� ���� ����Ʈ�� ���⿡ �ֽ��ϴ�:
o ����� ������Ʈ ���⿡�� ������ ������ ��, ������ ���� �� ��Ÿ���ϴ�.
o ���� ����� ���ɾ� �����ڿ��Լ� ������ �����ϸ�, highlighted
file�� ���� �� left-hand
�ؽ�Ʈ �信 ��Ÿ���ϴ�.
Comparing
local 2 binary or other unrecognized files:
It is possible to compare files that IDEA does not recognize
as editable.
They show up in
content views but cannot be edited in IDEA.
Files can be binary
or text, but if you compare two unrecognized files,
IDEA treats them as
binary and compares the bits.
If the files are
identical, the dialog shown below, left appears. If
the files differ, the dialog shown below, right
appears.
���� �������� IDEA�� �ν����� �ʴ� ������ ���ϴ� ���� �����մϴ�. �׵��� ����Ʈ ��⿡�� ��Ÿ������ IDEA���� ������ �� �����ϴ�.
������ ���̳ʸ� �Ǵ� �ؽ�Ʈ�� �� ������ ���� ����� 2���� �ν��ϰ� ���� ���� ������ ���ϸ�, IDEA�� �׵��� ���̳ʸ��� �����ϰ�, ��Ʈ�� ���մϴ�.
���� ������ �����ϸ�, �Ʒ��� ������ ������ ���̾�αװ� ��Ÿ���ϴ�. ���� ������ �ٸ���, �Ʒ��� ������ �������� ���̾�αװ� ��Ÿ���ϴ�.
Comparing
selected text with Clipboard contents:
����� Ŭ������ ������ ����� � �ؽ�Ʈ�� �����Ϳ��� ���õ� �ؽ�Ʈ�� ������ ���� �� �ֽ��ϴ�.
�� �񱳸� ����� ���ؼ�:
����� Ŭ������� ���ϰ� �;��ϴ� �ؽ�Ʈ�� �����Ͻʽÿ�
����� �����Ϳ��� ����� ���ϱ⸦ ���ϴ� �ؽ�Ʈ�� �����Ͻʽÿ�
������ ���� �޴� ������ Compare
with clipboard�� �����Ͻʽÿ�
���� �� ���� �ؽ�Ʈ�� �����ϸ� ����� �Ʒ� �Ͱ� ������ ���̾�α׸� �� ���Դϴ�; �׷��� ������ ���� ��� �� �ؽ�Ʈ���� ���̸� ǥ���ϴ� �Ϳ� ������ ���Դϴ�.
Comparing
a class/class member with a class/class member:
����� Ŭ���� �Ǵ� Ŭ���� ����� Project View, Commander �Ǵ� Structure View ����Ͽ� �� �ٸ� Ŭ����/Ŭ���� ����� ���� �� �ֽ��ϴ�.
�� �񱳸� ����� ���ؼ�:
�񱳵� ���� �׸��� �����Ͻʽÿ�
�� ��° ���õ� �׸� ������, ���� �޴��� ȣ���ϰ� �����ϴ� �޴� �׸��� �����Ͻʽÿ�, �� Compare Two Methods , Compare
Field with Method ��

|
�鷹�� Ŭ������ �񱳴� ��ü Java ������ ����ϰ� �Ǵ� �� �Դϴ�. �װ͵��� �� ���⿡�� �������� ������ �� ��Ŀ������ ����� ������ ���ϴ� ���� �����ϰ� �մϴ�.
|
|