Change tabs into spaces, highlight, and folding options

To change syntax highlighting, convert tabs into spaces, and change the folding options, open the C/C++ editor preferences dialog:

  1. Select Window > Preferences.
  2. In the left pane, select C/C++ > Editor.