MarketSquare / MarketSquare/robotframework-tidy

[Enhancement] Change tranformer configuration inside formatted file

Open
#655 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
RobotFramework
Stars
113
Forks
16
PR merge metrics
No merged PRs in 30d

Description

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.

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

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

My Third Test
No Operation
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the issue. Start by locating transformer configuration handling and comment parsing, then trace how configuration is scoped while formatting a file. Done means the documented comment forms can override transformer settings for the intended following section or test case without changing unrelated formatting.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.