.. _Inactive Code Highlight:

Inactive Code Highlight
=======================


Overview
~~~~~~~~



DVT editor marks the inactive code (i.e. code that is not compiled due to ``ifdef`` / ``ifndef``) with a colored background.

.. figure:: ../../images/vlogdt-macros-inactive-code-highlight.png




Settings
~~~~~~~~



You can enable/disable the highlight and choose the highlight color: navigate to **Window > Preferences then expand DVT > SystemVerilog > Editor**. In the panel on the right side you can find the *Inactive code highlight settings* group.

.. figure:: ../../images/vlogdt-macros-inactive-code-highlight-prefs.png




