Window
→ Preferences
→ Show advanced settings
aktivierenWindow
→ Preferences
→ C/C++
→ Code Style
→ Formatter
→ New
OK
bestätigenIndentation
→ General settings
→ Tabs policy:
→ Spaces only
Indentation
→ Indent
→ Statements within 'switch' body
aktivierenLine Wrapping
→ Line width and indenration levels
→ Maximum line width:
aus 240 stellen
Hinweis: Mit Strg
+ Shift
+ f
formatiert man den Code.