It is convenient to move method implementations outside the body of the class declaration. Similarly, this can also be done for constraints.

Place the cursor on the method declaration and press :kbd:`Ctrl+1`, select **Split ... into extern prototype and implementation** from the list of quick assist proposals and press  :kbd:`Enter`.

.. figure:: ../../images/common/sv_quick_assist_split_into_extern_list.png

The declaration is replaced with the 'extern' method prototype, and the implementation is inserted after **endclass**.

.. figure:: ../../images/common/sv_quick_assist_split_into_extern_after.png




.. tip::

	You can change the method signature or constraint block by editing the :ref:`Method Code Templates` or :ref:`Constraint Code Templates`.

.. tip::

	You can also :kbd:`Right-Click` in the editor and go to **Refactor** > **Split into extern and implementation**. 

.. figure:: ../../images/common/sv_quick_assist_split_into_extern_menu.png
