score:1

i fixed it by going to..

window ⟶ preferences ⟶ c/c++ ⟶ code style ⟶ formatter

there you need to edit the currently set profile. click "edit..." (top right-ish). now go to indentation (already open) ⟶ general settings ⟶ tab policy and change this from "tabs only" to "spaces only".

if you still have the default profile, give your profile a new name.

why is this so weird and convoluted? i don't know.


Related Query

More Query from same tag