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

Wrong formatting with commented last table row #465

Open
josemigallas opened this issue Apr 24, 2023 · 0 comments
Open

Wrong formatting with commented last table row #465

josemigallas opened this issue Apr 24, 2023 · 0 comments

Comments

@josemigallas
Copy link

josemigallas commented Apr 24, 2023

Describe the bug
Format Document works well with tables, even with commented rows, except when it is the last row.

To Reproduce
Version: 2.15.2
Add a table and comment last row. Then trigger action "Format Document":

  Scenario Outline: Swagger
    Given blah blah blah

    Examples:
      | swagger version |
      # | Swagger 1.2     |
      | Swagger 2       |
      # | OAS 3.0         | Feature not implemented |

Expected behavior
No change

Actual behavior

  Scenario Outline: Swagger
    Given blah blah blah

    Examples:
      | swagger version |
      # | Swagger 1.2     |
      | Swagger 2       |
  # | OAS 3.0         | Feature not implemented |

Cucumberautocomplete part of VSCode settings:

{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant