vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Missing "parameter:cucumber" token for Scenario Outline

Open ant0x64 opened this issue 9 months ago • 1 comments

👓 What did you see?

The editor does not properly assign the parameter:cucumber token to scenario outline parameters when an Examples table is provided.

Feature: Base feature

  Scenario: Base scenario
    Given I am logged in as "string"

  Scenario Outline: Assign by appropriate users
    Given I am logged in as "string"
    And I am logged in as "<parameter>"

    Examples:
      | parameter |
      | value     |

Image

p.s. I'm taking this issue and will start working on a fix.

✅ What did you expect to see?

The "string" in the scenario outline should be tokenized as "parameter:cucumber"

📦 Which tool/library version are you using?

No response

🔬 How could we reproduce it?

No response

📚 Any additional context?

No response

ant0x64 avatar May 19 '25 07:05 ant0x64

upstream issue: https://github.com/cucumber/language-service/issues/246

ant0x64 avatar May 19 '25 07:05 ant0x64