【英文】修改Eclipse制表符为4个空格
Introduction
Changing Eclipse tab stops to 4 spaces.
Setting for Java
Eclipse
->Preferences
-> search forFormatter
Java
->Formatter
->New
to create a custom configuration (because the default configuration does not allow modifications)
- Define a configuration name
- Select
Use spaces to indent wrapped lines
->OK
Setting for general text
Eclipse
->Preferences
-> search forEditor
Setting for XML
Eclipse
->Preferences
-> search forEditor
Setting for HTML
Eclipse
->Preferences
-> search forEditor
Setting for CSS
Eclipse
->Preferences
-> search forEditor
Setting for JSON
Eclipse
->Preferences
-> search forEditor
Setting for ANT
Eclipse
->Preferences
-> search forFormatter