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 [바삭바삭한 블로그]
'Java > Eclipse' 카테고리의 다른 글
Eclipse(3) - 자바 구문 기울기(ltalic) 수정하기 (0) | 2022.01.30 |
---|---|
Eclipse 설치하기 (0) | 2022.01.03 |
Eclipse(1) - 프로젝트 생성시 Encoding : UFT-8 설정하기 (0) | 2020.11.12 |
댓글