.. _Inactive generates code highlight:

Inactive generates code highlight
=================================

.. rst-class:: lead

DVT editor marks the unelaborated generate code (i.e. generate branches that are inactive) with a colored background.

.. figure:: ../../images/common/vhdl_inactive_generate_branches_highlight.png
	:align: center




You can enable/disable the highlight and choose the highlight color: navigate to :menuselection:`Window --> Preferences then expand DVT --> VHDL --> Editor`. In the panel on the right side, you can find the *Inactive generate branches* group.

.. note::
	
	The inactive generates code depends on the editor current design instance path shown in the **Design Breadcrumb**. You have the option to change the instance path, and therefore the highlight, from the **Select Instance Path** breadcrumb button. 
