Visualization – Element Highlighting
Element Highlighting visualization feature paints identifiers inside source code in a different color according to your preference. It can paint the following elements:
- classes
- structures
- interfaces
- enumerations
- methods
- properties
- fields
- events
- anonymous elements
Compare these two views of a source code with the disabled feature on the left side, and enabled feature on the right (click on the picture to see it in a full size):
By default, the Element Highlighting feature is disabled. You can enable it on the DXCore Visualize toolbar:

You can also enable the feature within the “Editor | Painting | Element Highlighting” options page in the Options Dialog:
Here, you can also specify the following settings:
- Turn on or off each painted element
- Make the font bold
- Color of a text
- Color of a text background
- Color of a border
- The style of a border: None, Frame, Round frame, Solid underline or Wavy underline
The plug-in does not ship with Code Rush. You are welcome to download it as a binary or its source. Note, however, there are a few issues with this feature:
- it does not paint well in VS2005 and VS2008, only VS2010
- it slow downs the performance on large source files.


Hi,
I don’t seem to have this option. And according to the online help http://documentation.devexpress.com/#CodeRush/CustomDocument8515 such option does not exists. I only use C# so maybe this is a Basic thing. Still, why does the online help does not mention such option.
Regards,
Fons
@Fons
Hi Fons,
It appears that we did not include this feature into the release. Let me get clarification on this. Give me some time.
@Fons
I’ve been writing my own adornments to get this functionality. This would be much better, but I don’t see the option either.
Regards,
Brian
OK, the post has been updated – see the details on the bottom of this topic.
Looks good! I’ll give it a try.
BTW the link to the bin.zip file is broken as the file has an underscore in it
@Alex
Thanks, the link is fixed.
Ok, spill the beans. What font and colors did you use, preferably in RGB values please.
@Seamus
The font is Consolas, 12pt. My settings file for Element Highlighting is attached.