Skip to content

[Enhancement] Change tranformer configuration inside formatted file #655

@gohierf

Description

@gohierf

It would be nice to be able to change the transformer configuration from a comment in the file.

For instance, for some test case I want a different alignment width than the default I could use.

*** TestCases ***  # robotidy: configAlignKeywordsSection:widths=10
My First Test
    No Operation

# robotidy: configAlignKeywordsSection:widths=20
My Second Test
    No Operation

My Third Test
    No Operation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions