AddMissingEndΒΆ

Add missing END token to FOR loops and IF statements.

AddMissingEnd is included in the default transformers but it can be also run separately with:

robotidy --transform AddMissingEnd src
FOR    ${x}    IN    foo    bar
    Log    ${x}
IF    ${condition}
    Log    ${x}
    IF    ${condition}
        Log    ${y}
Keyword

AddMissingEnd transformer supports global formatting params: --startline and --endline.