Implement Extern Constraint

An error or warning is triggered for extern constraints which are not implemented (explicit constraints trigger errors, while implicit ones trigger warnings).

../../_images/sv_quick_fix_implement_extern_constraint_list.png

Place the editor cursor on the constraint’s line and press Ctrl+1, select Implement extern constraint … from the list of quick fix proposals and press Enter.

The extern constraint implementation is inserted outside the class scope.

../../_images/sv_quick_fix_implement_extern_constraint_after.png

Tip

You can change the constraint block by editing the Constraint Code Templates

Note

The implementation stub contains a TODO reminder which shows up the Tasks View. See Track Tasks using TODO Markers.