cucumber / vscode

Official Visual Studio Code Extension for Cucumber
MIT License
65 stars 16 forks source link

Default semantic highlighting #207

Closed kieran-ryan closed 6 months ago

kieran-ryan commented 8 months ago

🤔 What's changed?

Overrided semantic highlighting configuration to be enabled with gherkin by default.

⚡️ What's your motivation?

Relates to #89.

Gherkin syntax highlighting depends upon semantic highlighting. This is not enabled by all themes by default.

This results in an initial user experience where depending on the user's colour theme and settings, syntax highlighting may not work completely as expected. This can be considered a "bug".

Overriding semantic highlighting configuration to be enabled for gherkin, will result in a better user experience and improved syntax highlighting support.

🏷️ What kind of change is this?

♻️ Anything particular you want feedback on?

Whether resolves issue for 'GitHub Dark' and 'GitHub' light themes.

📋 Checklist: