.. _Declare Enum Value:

Declare Enum Value
==================

An error is triggered when accessing an enumerated type value which does not exist. DVT provides an easy way to easily declare the missing value.

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


Place the editor cursor on the error's line and press :kbd:`Ctrl+1`, select :guilabel:`Declare enum type value ...` from the list of quick fix proposals and press :kbd:`Enter`.

The new value is inserted in the type declaration.

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




