Bind Method Call Arguments by Position

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

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

../../_images/sv_quick_assist_refactor_function_call_to_position_args.png

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

../../_images/sv_quick_assist_after_bind_arg_by_pos.png

Tip

You can also Right-Click in the editor and go to Refactor > Bind Method Call Arguments by Position.

../../_images/sv_quick_assist_refactor_function_right_click_menu.png