Open muhqu opened 9 years ago
@aslakhellesoy any chance to get this one merged?
It would be great to get this into a release so I don't have to make a copy of the PrettyFormatter.java
in https://github.com/cucumber/cucumber-eclipse/issues/107.
Probably not I'm afraid. We're focussing on Gherkin 3 now: https://groups.google.com/d/msg/cukes/YLKsqbBMBoI/KR_Zq6DBgJwJ
We'll move the formatting to Cucumber - I'll keep this in mind when we get there. I've been wanting the same thing myself!
@aslakhellesoy oh, hm k. …maybe I can contribute to Gherkin 3 as well. I've written a gherkin parser in golang.
@muhqu oh that would be fantastic! Let me know if anything is missing from the contribution guide!
This PR adds 3 optional formatting options to the
PrettyFormatter
. All options default tofalse
to not change the formatting result unless explicitly enabled.right-align numeric values in tables
center-align step keywords
preserve a single blank line between steps