RobotCode Automformat GROUP Syntax issues

When using the newly introduced GROUP syntax for better readability. I’ve noticed that RobotCode autoformat can’t really handle it. The END part is missindented.

Anyone else have this problem?

Before autoformat:

After autoformat:

INFO:

RobotCode version 1.0.3
RF version 7.22

Which version of robotframework-tidy do you use? I think this is only supported in the last version.

1 Like

Ty @daniel I have 4.10.0 and will update.

@daniel I’ve now moved over autoformat to Robocop from Robotidy. It no longer works. Do you know if Robocop will add support for GROUP?

What exactly does not work?

@daniel Ty for you quick response.

This is what our example template looks like when we still used robotidy:

After migrating to Robocop entirely this is the result of the format:

For clarification, the autoformat removes the indent of the END for GROUP syntax.

Now robotcode (red) throws ‘GROUP must have closing END.robotcode(ModelError)’
And (blue) ’ Missing documentation in ‘END’ test caserobocopDOC02-missing-doc-test-case

BR

Martin X