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

Scenario Template: syntax coloring not working #456

Open
zmorris opened this issue Nov 22, 2022 · 0 comments
Open

Scenario Template: syntax coloring not working #456

zmorris opened this issue Nov 22, 2022 · 0 comments
Milestone

Comments

@zmorris
Copy link

zmorris commented Nov 22, 2022

Describe the bug
Scenario Template: keyword (from Gherkin 6?) not highlighting, maybe others

To Reproduce
Steps to reproduce the behavior:

  1. Edit settings.json (~/Library/Application Support/Code/User/settings.json on macOS) to have:
    "cucumberautocomplete.formatConfOverride": {
        "Scenario Template:": 1
    }
  1. Relaunch VS Code or disable/reload/enable Cucumber (Gherkin) Full Support extension
  2. Open a file ending with .feature and see that lines starting with Scenario Template: are still the default color
  3. I'm using VS Code 1.72.2 on macOS 12.5.1 if that helps

Expected behavior
Scenario Template: should be the same color as Scenario Outline:
See #293 for previous issue which is closed
See https://cucumber.io/docs/gherkin/reference/ for additional keywords
Updating the default conf to have the new keyword(s) would be enough to help me, even if overriding cucumberautocomplete.formatConfOverride still doesn't work for some reason (maybe user error on my part)

Screenshots
image

Cucumberautocomplete part of VSCode settings:
Skipped

Step definition:
Skipped

Gherkin step line

Feature: My feature
  @run
  Scenario Outline: Do stuff
    Given stuff
    # ^^^ "Scenario Outline:" is highlighted

  @run
  Scenario Template: Do stuff
    Given stuff
    # ^^^ "Scenario Template:" is NOT highlighted
@alexkrechik alexkrechik added this to the 2.16.0 milestone Nov 22, 2022
@alexkrechik alexkrechik modified the milestones: 3.0.0, 3.1.0 May 15, 2024
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

2 participants