Join Extern and Implementation

You can easily merge the ‘extern’ prototype of a method or constraint with its out-of-block implementation.

Place the editor cursor either on the method’s prototype or on the implementation and press Ctrl+1, select Join extern … prototype and implementation from the list of quick assist proposals and press Enter.

../../_images/sv_quick_assist_join_extern_list.png

The implementation is joined with the prototype:

../../_images/sv_quick_assist_join_extern_after.png

Tip

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

Tip

You can also Right-Click in the editor and go to Refactor > Join extern and implementation.

../../_images/sv_quick_assist_join_extern_menu.png