본문 바로가기
Java/Eclipse

Eclipse(2) - Tap 간격 조절

by 공판다2 2021. 11. 26.

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 [바삭바삭한 블로그]

 

 

댓글