alexkrechik / VSCucumberAutoComplete

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

Unable to find step - language issue #236

Closed MichalFidor closed 5 years ago

MichalFidor commented 5 years ago

Describe the bug In the latest version, you added an "I" as a step ("and") to the interpreter. I think, that there should be some option to set a default language to this extension or to somehow ignore the description area (it will be more difficult I think). Because in Polish there is an "I" and it means in fact "and" but if I use English in my project, and I would like to use "I" as I/Me into the description then it shouldn't underline this as a step.

To Reproduce Steps to reproduce the behaviour:

  1. Go to VSC with the extension installed

  2. Create new .feature file

  3. Fill it up with e.g.

    Feature: <title>
    
    As an (..)
    I want a (...)
    
        Scenario: <scenario title>
        Given <some existing step>
  4. After that, you can see that "I want a (...)" will be underlined

Expected behaviour It shouldn't underline this as a step, because this is just a description

Screenshots issue

rayk47 commented 5 years ago

Yes pls this one is very frustrating

DesHorsley commented 5 years ago

Is this a duplicate of #234 ?

MichalFidor commented 5 years ago

Yes, it's the same issue. Didn't noticed that someone already created a topic for that. Alex replied on the marketplace that I should create a new card for that and I just did it without looking if there is a related topic created already.

alexkrechik commented 5 years ago

Hotfixed in 2.13.1

rayk47 commented 5 years ago

Confirmed this is working thanks @alexkrechik