Skip to content
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

Formatter removes malformed tables #78

Open
pkufranky opened this issue Aug 16, 2022 · 3 comments
Open

Formatter removes malformed tables #78

pkufranky opened this issue Aug 16, 2022 · 3 comments
Labels
πŸ› bug Defect / Bug

Comments

@pkufranky
Copy link

pkufranky commented Aug 16, 2022

πŸ‘“ What did you see?

Examples:
| foo | bar |
| 1 |

After formating, it becomes
Examples:

βœ… What did you expect to see?

It should not remove anything when formatting.

πŸ“¦ Which tool/library version are you using?

vscode cucumber extension, v1.2.8

πŸ”¬ How could we reproduce it?

In vscode, use cucumber as formatter for .feature file.
Enter the invalid table and save, table is removed.

πŸ“š Any additional context?


This text was originally generated from a template, then edited by hand. You can modify the template here.

@niccolomineo
Copy link

I agree with the OP and I'd like to add it is a quite serious issue at the moment.

@aslakhellesoy
Copy link
Contributor

Moved to #78

@aslakhellesoy aslakhellesoy transferred this issue from cucumber/vscode Aug 23, 2022
@aslakhellesoy
Copy link
Contributor

@pkufranky @niccolomineo thanks for reporting this. If this is important to you, please consider contributing a fix yourself.

The formatting fucntionality is implemented in this file.

@kieran-ryan kieran-ryan added the πŸ› bug Defect / Bug label Jan 4, 2024
@kieran-ryan kieran-ryan changed the title Invalid table should not be removed when formatting Formatting removes malformed tables Apr 23, 2024
@kieran-ryan kieran-ryan transferred this issue from cucumber/language-service Apr 23, 2024
@kieran-ryan kieran-ryan changed the title Formatting removes malformed tables Formatter removes malformed tables Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
πŸ› bug Defect / Bug
Projects
None yet
Development

No branches or pull requests

4 participants