-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Ctrl+Shift+F does not work correctly #24
Comments
Quick answer: it requires a plugin fix. Long Answer A solution for this and many other issues would be to replace the generated Xtext parser with the official gherkin parser which is used by Cucumber-JVM. To achieve such result though I need some help as there's a lot of information I'm missing. Someone with good knowledge of Antlr or Xtext would really be helpful on this: do you know anybody willing to contribute? |
This issue has not been updated for a while: marking it as stale. |
Thanks @github-actions 😂 |
This is fixable using the new I am flagging this issue for review in next |
This issue has not been updated for a while: marking it as stale. |
Can we please keep this open until the pending work/feedback is resolved? |
@rlogiacco I agree, this is still an unresolved issue. It has improved somewhat in current master (unreleased as of yet), but won't be fully supported until the 1.0 milestone release. The current behavior in master is to simply preserve the existing Narrative formatting. Later we can add rules for things like whitespace cleanup or auto-indent. |
@rlogiacco This can be closed with #86 |
When applying the auto-formatter, this plugin does not correctly format Gherkin feature files.
Before:
After:
Note the incorrect indentation, mix of tabs and spaces, and appended spaces.
Is there a way to customize the formatter or does this require a fix in the plugin iteself?
The text was updated successfully, but these errors were encountered: