Configuring Highlighting for C and C++ Projects
See Also  
You can use the Options window to configure semantic highlighting for your 
C and C++ projects.  The IDE can display various code elements with text highlights
such as different colors, underlining, or font weights to make the code easier to understand.
Tip: See Tools > Options > Editor > Hints > C/C++ for other ways to change
the IDE's display.
To configure highlighting:
- Choose Tools > Options.
- 
Click Editor in the top pane of the window.
- Click the Highlighting tab.
- Choose C/C++ in the Language list.
- 
Modify the properties as desired.
You can set the following properties:
- Mark Occurrences of Symbol Under Caret. If this option is selected, then
when you click on a class, function, variable, or macro, all occurrences 
of that class, function, variable, or macro in the current file are 
highlighted.
- Keep Marks. If this option is selected, highlighted classes, 
functions, variable, and macros remain highlighted until you move the cursor to another symbol.
- Highlight Inactive Code. If this option selected, inactive code 
is highlighted.
- Highlight Macros. If this option selected, macros are highlighted.
- 
        Highlight Class Fields Declarations. If this option selected, class field
        declarations are highlighted.
      
- Highlight Class Fields. If this option selected, class 
fields are highlighted.
- 
        Highlight Function Declarations and Definitions. If this option selected, function
        declarations and definitions are highlighted.
      
- Highlight Function Names. If this option selected, 
function names are highlighted.
- Highlight Typedefs. If this option is selected, 
typedefs are highlighted.
- Highlight Unused Variables. If this option is selected, unused variables are highlighted.
- Highlight Syntax Errors. If this option is selected, syntax errors are highlighted.
- Show Overridden Annotations. If this option is selected, the editor will show pop-up annotations for
methods that override a parent method, or that are overridden by a descendent class. The annotations contain links to
the associated methods and classes.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.