.. _Create Interface Class In New File:

Create Interface Class In New File
==================================

An error is triggered when trying to implement a non existing interface class.

Place the editor cursor on the error's line and press :kbd:`Ctrl+1`, select **Create interface class '...' in new file** from the list of quick fix proposals and press  :kbd:`Enter`.

.. figure:: ../../images/common/sv_quick_fix_create_non_ex_interface_class.png

A wizard will pop up. Fill in the name and the directory path of the new file.

.. figure:: ../../images/common/sv_quick_fix_wizard_non_ex_interface_class.png


The interface class is created and the new file opens.

.. figure:: ../../images/common/sv_quick_fix_create_non_ex_interface_class_result.png

.. note::

	An include statement is added inside the scope of the child class.

.. figure:: ../../images/common/sv_quick_fix_create_non_ex_interface_class_include_statement.png

.. note::

	If the implemented interface class is parameterizable, the definition is computed accordingly with its value or type parameters.

