alexkrechik / VSCucumberAutoComplete

Cucumber (Gherkin) Full Support Extension for VSCode
https://marketplace.visualstudio.com/items?itemName=alexkrechik.cucumberautocomplete
MIT License
331 stars 80 forks source link

Table formatting does not work well with "pipe" in docstrings #382

Closed BryanDiLaura closed 4 months ago

BryanDiLaura commented 3 years ago

I have some scenarios where I use the pipe operator inside of some docstrings, but unfortunately the table formater doesn't handle it well. In an ideal world I thing one of two solutions would give me the desired behavior:

Expected:

    Scenario: blah
        Given Some situation
        When I do some stuff
            """
                | this
                | is 
                | a 
                | pipe
            """

        Then expected thing happens

Actual:

    Scenario: blah
        Given Some situation
        When I do some stuff
            """
                ||
                ||
                ||
                ||
            """

        Then expected thing happens
alexkrechik commented 3 years ago

I like 'Only use the table formatting when there are greater than one '|' characters' solution.

alexkrechik commented 2 years ago

It should be fixed after 2.16.0 release

ivtomash commented 1 year ago

Hi there, have any updates with this issue? My version is v2.15.2 and '|' character problem remains.

alexkrechik commented 4 months ago

This issue is to be fixed or implemented in the 3.0.0 version of the extension. If this issue is unresolved or there are additional notes, please create a new ticket with the necessary details.