-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The extension dels all my comments in .feature file #175
Comments
I have the same problem |
Thank you for the bug report. This is mostly fixed in v1.8.0 which should be published to the Visual Studio Code Marketplace soon, or you can install from the There is still one case that isn't fixed; see @cucumber/gherkin-utils#38 -- I will address this separately as it requires updates to underlying packages. |
I've just installed version 1.8.0 and it is still buggy. When I put a comment on top of a scenario and save, it adds an empty line under the comment. For instance, this code
results in
This is highly problematic as this extension seems to be the only thing in Gherkin/JS land that automatically format tables. Having to disable the extension because of this issue makes writing tests much more painful than it needs to be. |
Thank you for the bug report. I've added this to my list of formatting issues to fix in the related package. I don't have much time to devote to Cucumber just now but I am hoping to have more time later this quarter to work on reliability of the formatter. |
π What did you see?
The extension dels all my comments in .feature file when I try to save it.
β What did you expect to see?
I expect to see all my comments after #-sign
π¦ Which tool/library version are you using?
VS Code v1.82.1
Cucumber v1.7.0
π¬ How could we reproduce it?
Steps to reproduce the behavior:
#foobar
The text was updated successfully, but these errors were encountered: