
Implement Extern Constraint
===========================

An error or warning is triggered for extern constraints which are not implemented (explicit constraints trigger errors, while implicit ones trigger warnings).

.. figure:: ../../images/common/sv_quick_fix_implement_extern_constraint_list.png

Place the editor cursor on the constraint's line and press :kbd:`Ctrl+1`, select **Implement extern constraint ...** from the list of quick fix proposals and press :kbd:`Enter`.

The extern constraint implementation is inserted outside the class scope.

.. figure:: ../../images/common/sv_quick_fix_implement_extern_constraint_after.png

.. tip::
    
    You can change the constraint block by editing the :ref:`Constraint Code Templates`

.. note::
    
    The implementation stub contains a TODO reminder which shows up the Tasks View. See :ref:`Track Tasks using TODO Markers`.