ReplaceBreakContinue¶
Replace Continue For Loop and Exit For Loop keyword variants with CONTINUE and BREAK statements.
Note
Required Robot Framework version: >=5.0
Disabling the formatter
ReplaceBreakContinue is included in the default formatters, but it can be also run separately with:
You can also disable it:
It will replace Continue For Loop and Exit For Loop keywords with CONTINUE and BREAK respectively:
Conditional variants are also handled. Shorter IFs can be also formatted to inline IF with InflineIf formatter:
Continue For Loop and Exit For Loop along with conditional variants outside the loop are ignored.