Java/eclipse

Eclipse Editor tab to space

정규식 2020. 2. 3. 03:00

 

이클립스 내장 에디터 Tab을 공백으로 변경시 설정

 

 

1. General Editor

General > Editors > Text Editors > Insert spaces for tabs Check

 

 

 

 

 

 

 

2. Java Editor

 

Preferences > Java > Code Style > Formatter > Edit 클릭

 

Tap Policy > Space Only > Ok 클릭 (저장이 안될경우 Profile name 변경)

 

 

 

 

 

 

 

 

 

3. JavaScript Editor

 

Preferences > JavaScript > Code Style > Formatter > Edit 클릭

 

Tap Policy > Space Only > Ok 클릭 (저장이 안될경우 Profile name 변경)

 

 

Preferences > JavaScript > Editor > Typing > Tab key adjusts the indentation of the current line 체크해제