robotframework-tidy
robotframework-tidy copied to clipboard
option to automatically fix issues
robotframework-tidy doesn't seem to fix a lot of the issues that robocop picks up. stuff like title case, spacing, etc. should be able to be automatically fixed. see https://github.com/MarketSquare/robotframework-robocop/issues/424
(Copy from issue from robocop) It's good idea - although this issue belongs to tidy repository. Tidy already fix a lot of robocop issues (notice that lsp is not using robotidy but robot.tidy -> but it will be replaced with robotidy in the close future). There are still some missing features or contradictions (such as robocop reporting on != 2 empty lines between sections and robotidy formatting with 1). Not everything can be auto fixed though - for example robotidy cannot add documentation for you ;)
We can use this issue as bridge between robotidy and first create matrix of rules from robocop that could be autofixed (together with information if it's already covered by robotidy or there are any issues). I could go from there and see what I can implement in robotidy.