.. _Bind Method Call Arguments by Name:

Bind Method Call Arguments by Name
==================================

You can easily convert the argument bindings of a method call from positional to named.

Place the cursor on a method call and press :kbd:`Ctrl+1`, select **Bind method call arguments by name** from the list of quick assist proposals and press  :kbd:`Enter`.

.. figure:: ../../images/common/sv_quick_assist_refactor_function_call_to_named_args.png

The argument bindings of the method call are converted to named.

.. figure:: ../../images/common/sv_quick_assist_after_bind_arg_by_name.png

.. tip::

	You can also :kbd:`Right-Click` in the editor and go to **Refactor** > **Bind Method Call Arguments by Name**.

.. figure:: ../../images/common/sv_quick_assist_refactor_function_right_click_2.png



