ducminh-phan / reformat-gherkin

Formatter for Gherkin language
MIT License
24 stars 13 forks source link

Change consecutive non-and keywords #66

Open mjuuti-b1 opened 1 year ago

mjuuti-b1 commented 1 year ago

Is your feature request related to a problem? Please describe. Not really, just makes reading feature files easier

Describe the solution you'd like When feature file has repetitive consecutive keywords (other than And) they should get changed.

For example

When I this
When I that
And little bit that too
When something else

should come out as

When I this
And I that
And little bit that too
And something else

Describe alternatives you've considered Currently using Gherkin Beautifier for VS Code but it only nags, does not auto-replace

Additional context n/a