Eclipse에서 Tap 간격 조절

Eclipse에서 Tap 간격 조절

Window - Preferences

General - Editors - Text Editors 에서 Displayed tab width - 2 입력

.java 파일

Java - Code Style - Formatter 에서 New 버튼 - Profile name에 알아서 입력 후 OK 후

Tab policy - Spaces only 선택, Indentation size - 2, Tab size - 2 입력 후 OK

.css 파일

Web - CSS Files - Editor 에서 Indent using spaces 선택 후 Indentation size - 2

.htm, .html 파일

Web - HTML Files - Editor 에서 Indent using spaces 선택 후 Indentation size - 2

.xml 파일

XML - XML Files - Editor 에서 Indent using spaces 선택 후 Indentation size - 2

출처: https://tweegim.tistory.com/83 [바삭바삭한 블로그]

from http://kongsabary.tistory.com/43 by ccl(A) rewrite - 2021-11-26 19:28:03